[Gambas-user] Scientific notation

Benoît Minisini g4mba5 at gmail.com
Wed May 8 23:56:09 CEST 2019


Le 08/05/2019 à 23:15, gen braga a écrit :
> Hello,
> 
> Dim x As Float = 5
> Print format(x, gb.scientific)
> 
> outputs 5E+ (shouldnt it be 5E+0?). Besides that:
> 
> Dim x As Float = 5E+
> Print x
> 
> returns syntax error on variable initialization. if I  change it to
> 5E+0 it is obviously Ok.
> 
> Bug?
> 
> -
> Gen
> 
Yes.

-- 
Benoît Minisini


More information about the User mailing list