Dollar Format

Derek Bump list at dreamscapesoftware.com
Mon Feb 12 09:57:02 EST 2007


Jeff,

The "numberFormat" is actually a global setting, so you would set it and 
perform your script as such:

     set the numberFormat to "#.00"
     put pBalance - (iDPayment + DSUM) into NBalance

Let us know if that doesn't help.


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/



Jeff Honken wrote:
> How would a person force a U.S. dollar format on a variable?  I'm trying
> to set NBalance as a dollar but the following errors:
> 
> put pBalance - (iDPayment + DSUM) into NBalance
>   set the numberFormat of NBalance to "#.00"
> 
> Any help will be greatly appreciated.  Jeff



More information about the use-livecode mailing list