Getting a real number from scientific notation
Klaus major-k
klaus at major-k.de
Mon Nov 23 16:55:41 EST 2020
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 <use-livecode at lists.runrev.com>:
> 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
klaus at major-k.de
More information about the use-livecode
mailing list