Too fundamental to be a bug, so what's wrong?

Mark Waddingham mark at livecode.com
Tue Jul 31 01:38:50 EDT 2018


Hi Tom,

What code sets gTSsettings["teamcount], and more critically, are you 
using 'numberFormat' anywhere?

It sounds like the value of gTSsettings["teamcount"] is *actually* 
3.502564, and wherever you saw it is '4' was somewhere where 
numberFormat was truncating/rounding.

Warmest Regards,

Mark.

On 2018-07-31 00:10, tbodine via use-livecode wrote:
> Hi,
> 
>>> global gTSsettings["teamcount"]; put gTSsettings["teamcount"] - 4
> 
> The global is just gTSsettings, so I modified your command as...
> 
> global gTSsettings; put gTSsettings["teamcount"] - 4
> 
> RESULT:
> 
> -0.497436
> 
> ???
> 
> Thanks,
> Tom
> 
> 
> 
> --
> Sent from:
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list