Math issue, isn't it?
Bob Sneidar
bobs at twft.com
Fri May 8 16:56:48 EDT 2009
Then the question becomes, should the IDE be doing math on the real
number or the displayed number? I vote for the displayed number
because that means I can have some kind of control over the outcome.
Clearly if some calculation that comes up with a number cannot be
compared to a literal for equal/not equal, then all accounting is out
the window. This cannot be an intended behavior!!?!
Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM
On May 8, 2009, at 1:30 PM, Colin Holgate wrote:
>
> On May 8, 2009, at 4:15 PM, Mark Swindell wrote:
>
>> set the numberFormat to 0.##
>> put 283.67-150.00-133.67
>>
>> returns 0
>
> numberFormat only affects how the number is displayed, it doesn't
> affect the value of the number behind the scenes.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list