Trailing Zeros

Klaus Major klaus at major-k.de
Sun Sep 3 10:06:32 EDT 2006


Hi Camm29,

> I have been using Round(number,x)

add a line and you are done:

...
set the numberformat to 0.00
put Round(number,2)
...

or whatever value fits for you for the second parameter "precision",
see the docs.

:-)

> I wish to keep trailing Zero's
>
> 1234.00
> 1234.50 etc etc
> I can only get
> 1234
> 1234.5
> no zero's . i know i'm missing something simple !!!

Hope that helps.

> Regarda
> __________

Best

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the Use-livecode mailing list