[Gambas-user] Scientific notation

gen braga genbraga1 at gmail.com
Wed May 8 23:15:31 CEST 2019


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


More information about the User mailing list