Unfortunately, there are not enough examples in the dictionary for an amateur like myself to understand it!
Roger > On Nov 23, 2020, at 4:09 PM, Paul Dupuis via use-livecode > <[email protected]> wrote: > > All this is why I prefer format() over numberFormat. The function is more > versatile and you get exactly what you specify with less guess work. > > On 11/23/2020 6:52 PM, Roger Guay via use-livecode wrote: >> Yaknow, this whole thing is confusing. Turns out you don’t even need to set >> the numberFormat. >> put 4.21911e+11 + 0 results in 421910000000. >> >> Roger >> >>> On Nov 23, 2020, at 2:44 PM, Craig newman via use-livecode >>> <[email protected]> wrote: >>> >>> Nope. >>> >>> The "numberFormat" property is perfectly happy with quotes around its >>> formatExpression. It is also perfectly happy without it. But I always use >>> quotes for things like this. >>> >>> Craig >>> >>> -----Original Message----- >>> From: use-livecode [mailto:[email protected]] On Behalf >>> Of Roger Guay via use-livecode >>> Sent: Monday, November 23, 2020 5:25 PM >>> To: How to use LiveCode <[email protected]> >>> Cc: Roger Guay <[email protected]> >>> Subject: Re: Getting a real number from scientific notation >>> >>> That works. Thanks, Klaus! >>> >>> Roger >>> >>> >>> >>>> On Nov 23, 2020, at 1:55 PM, Klaus major-k via use-livecode >>>> <[email protected]> wrote: >>>> >>>> Hi Roger, >>>> >>>> you forgot + 0 :-) >>>> >>>> on MouseUp >>>> set the numberformat to 0 # NO quotes around this 0 or LC gives an >>>> error put 4.21911e+11 + 0 End mouseUp >>>> >>>> -> 421911000000 >>>> >>>>> Am 23.11.2020 um 22:50 schrieb Roger Guay via use-livecode >>>>> <[email protected]>: >>>>> on MouseUp >>>>> set the numberformat to “0" >>>>> put 4.21911e+11 >>>>> End mouseUp >>>>> puts 4.21911e+11 into msg box >>>>> What am I missing? >>>>> >>>>> Roger >>>> Best >>>> >>>> Klaus >>>> >>>> -- >>>> Klaus Major >>>> https://www.major-k.de >>>> [email protected] >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> [email protected] >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> [email protected] >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> [email protected] >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
