Page 1 of 1

Math precision

Posted: Mon Jun 16, 2014 12:48 pm
by MaxV
Hi,
I'm using WinXp and I get this error:

Code: Select all

1 * 0.000005  = 0.000005
1 * 0.0000005 = 0
:shock:

How can I set math precision on Livecode?

Re: Math precision

Posted: Mon Jun 16, 2014 12:56 pm
by Klaus
Hi Max,

check "numberformat" in the dictionary, the default = 0.######
Which is one digit less than you need in your example :D

Best

Klaus