Strange math behaviour... could someone explain this ?
jbv
jbv.silences at Club-Internet.fr
Fri Oct 7 15:30:44 EDT 2005
Alex,
> Users of trunc() (whichever language they use it in :-) should be wary
> of the dangers.
>
Thank you so much for your explanations. As for rev users, I strongly
suggest that this "potential problem" should be mentioned in the doc,
at least in the part dedicated to the trunc() function...
Nevertheless, how do you explain that the following :
put 36 into A
put 34.2 into B
put A-B into C
put C*100 into C
put trunc(C)
returns 180 with Rev 2.5 on Mac OS9, but returns 179 on other
platforms such as Linux or Win2000 ?
Just curious...
JB
More information about the use-livecode
mailing list