Did numberFormat Break?
Klaus major-k
klaus at major-k.de
Thu Feb 15 12:34:44 EST 2018
Hi Bob,
> Am 15.02.2018 um 18:20 schrieb Bob Sneidar via use-livecode <use-livecode at lists.runrev.com>:
>
> I have this in a script:
>
> on mouseUp
> set the numberFormat to "0.00"
> put 1.00+1 into tpoextprice
> breakpoint
put tpoextprice
> end mouseUp
> At this point tpoextprice is 2. Not mind you, 2.00, just 2.
Adding this, will put 2.00 into the message box. LC 8.1.9, Mac.
So maybe the debugger does just not display the correct number?
> Either I am missing something (again) or else numberFormat is broken.
>
> Bob S
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list