Math problems?

Mark Swindell mdswindell at cruzio.com
Fri May 19 15:17:57 EDT 2006


> 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.


More information about the use-livecode mailing list