[Gambas-user] Little bug in Format$

Benoit Minisini benoit.minisini at gambas-basic.org
Thu Nov 17 21:42:25 CET 2022


Le 09/11/2022 à 16:57, martin p cristia a écrit :
> Format(123456789,"0.000000E+000") = "1,234568E+008" wich is correct, but
> 
> Format(0.000123,"0.000000E+000") = "1,230000E0-4" wich leads to bad 
> re-conversion with CSingle()
> 
> it shoud be "1,230000E-004"
> 

It should be fixed by commit 
https://gitlab.com/gambas/gambas/-/commit/5621991e1f3b805e17da97a572f5c9bbe03dbed3.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list