[Gambas-user] Bug with floating point conversion?

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Oct 29 02:42:14 CET 2019


I think cstr(cfloat(0.00005)) should be "5E-5" not "5E--5".


Jussi

On Tue, Oct 29, 2019 at 3:24 AM Jussi Lahtinen <jussi.lahtinen at gmail.com>
wrote:

> ? cfloat(0.00005)
> 5E--5
>
> ? isnumber(cstr(cfloat(0.00005)))
> False
>
> This used to work. What has changed?
>
>
> Jussi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191029/b893a046/attachment.html>


More information about the User mailing list