It looks like you're new here. Sign in or register to get started.
ROUND(562321.55,1,'<')
FORMAT(562321.55,0,'<Sign><Integer Thousand>')
Answers
Try
Str:=FORMAT(562.321,55);
Res:= COPYSTR(Str, 1, SUBSTR(Str,','));
I hope this helps.
Thanks.
If you need the result as decimal or integer use If you need the result as string use Both functions in effect just chop off the decimals, or expressed differently: they round towards 0, negative values get greater, positive smaller.
Above code, contrary to vremeni4's, is locale agnostic.