Getting a real number from scientific notation

Klaus major-k klaus at major-k.de
Sun Nov 22 15:47:41 EST 2020


Hi Paul,

> Am 22.11.2020 um 21:44 schrieb Paul Dupuis via use-livecode <use-livecode at lists.runrev.com>:
> 
> So, if you want to concert form scientific notation to a real number, you can use the "format" function (see dictionary). Example:
> putformat("%1.0f",4.21911E+11) -- outputs 421911000000
> Is that shat yo are looking for?

YES, thanks a BUNCH, that is exactly what I need!


Best

Klaus
--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list