Peter T. Evensen wrote:

I am doing the following:

put 10.27 into tNumber
put the trunc of tNumber into tInteger
put tNumber - tInteger into tDecimal
put 100 * tDecimal into tNew Decimal
put the trunc of tNewDecimal

and I get 26 instead of 27.

Am I doing something wrong? Is this a bug? Is there another way to isolate the decimal portion?

Hi Peter,

This looks like a bug to me too.

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

Reply via email to