Adding numbers (and limiting the result)
Sarah Reichelt
sarahr at genesearch.com.au
Tue Dec 11 18:33:01 EST 2001
You could use numberFormat as suggested, or the round function.
put round(myNumber,2) into fld "Whatever"
This will give you 2 decimal places rounded by financial rules. If you want
statistical rounding rules, use the statRound function.
Cheers,
Sarah
>
> Wow!
>
> Thanks to everyone who responded to my questions!
>
> Now I'm trying to limit the result to just 2 decimal places.
>
> I tried searching the help files but I'm not even sure what to call what I'm
> looking for. <I8-) (that's me in my dunce cap)
>
> Thanks again!
>
>
> Michael McKenzie
> Director of Advertising
> Ruby-Gordon Inc.
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list