Math problems?
Peter T. Evensen
pevensen at siboneylg.com
Fri May 19 15:24:43 EDT 2006
It seems like there is some funky math going on here. In looking at
things, after 100 * tDecimal into tNewDecimal, tNewDecimal contains 27
the trunc of 27 should be 27, not 26.
At 02:17 PM 5/19/2006, you wrote:
>>put 10.27 into tNumber
>>put the trunc of tNumber into tInteger
>>put tNumber - tInteger into tDecimal
>>put 100 * tDecimal into tNew Decimal
>>put tNewDecimal
>>-- put the trunc of tNewDecimal
>
>= 27
>
>
>On May 19, 2006, at 12:04 PM, Peter T. Evensen wrote:
>
>>put 10.27 into tNumber
>>put the trunc of tNumber into tInteger
>>put tNumber - tInteger into tDecimal
>>put 100 * tDecimal into tNew Decimal
>>-- put tNewDecimal
>>put the trunc of tNewDecimal
>
>= 26
>
>
>I don't get it either.
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588
More information about the use-livecode
mailing list