Um...

Really freakin' weird!

I am on win 2000, and that script returns 179

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jbv
Sent: Friday, October 07, 2005 10:27 AM
To: How to use Revolution
Subject: Re: Strange math behaviour... could someone explain this ?

with Rev 2.5 on Mac OS9.1 the following
gives 180

  put 36 into A
  put 34.2 into B
  put A-B into C

  put C*100 into C
  put trunc(C)

but with Rev 2.5 Linux I still get 179...

so much for Xplatform compatibility :(

JB


> I just tried this script - but I still get 179
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of jbv
> Sent: Friday, October 07, 2005 10:02 AM
> To: How to use Revolution
> Subject: Re: Strange math behaviour... could someone explain this ?
>
> According to my tests (which aren't exhaustive)
> there seems to be another workaround :
>
>   put 36 into A
>   put 34.2 into B
>   put A-B into C
>
>   put C*100 into C
>   put trunc(C)
>
> this gives 180 as a result, while the following line
> (replacing the last 2 of the above example) gives 179
>
>   put trunc(C*100) into C
>
> JB
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to