Description |
Number/String convertion
STR(x) number as string (rounded to whole number)
STR(x,s) like previous, but altogether s chars
STR(x,s,n) like previous, but with n decimal places
STR(x,s,n,t) like previous and with char t to seperate thousands
STR(x,s,n,t,f) like previous, but leading blanks are replaced by the fill character f
STR(x,s,n,t,f,k) like previous, but instead of comma the char k is set.
Examples:
STR(123.456) "123"
STR(123.456,10) " 123"
STR(123.456,10,2) " 123,46"
STR(123456,1,0,'.') "123.456"
STR(123456,1,2,'.') "123.456,00"
STR(123456,13,2,' ','_','.') "___123 456.00"
|