Hello From Spain. Could anyone explain me how can I format a number into a string with at least 2 decimals and no more than 2 decimals (2:2) without any number symbol? (’ , . ) I mean: namount = 20.345,06 samount will be 2034506 namount = 20.345,10 sAmount will be 2034510 namount = 345,00 sAmount will be 34500 I mean: sAmount := FORMAT(nAmount… thanks.
How about this? delchr(format(var,0,’<decimals,3>’),’<=>’,’,’);
Would this work for you? sAmount := Format(Round(nAmount,0.01, ‘=’)* 100)
This should do the job: format(amount * 100.0, 0, ‘<Precision,0:0>’)
thank you very much. your system works perfectly. thank you again from Spain. Serrano.