hello,
[code]
//dim d as single
dim d as double
d= -0.00000005555
system.DebugLog str(d,"#.###e+")[/code]
displaying d value with d as double return positif number !
5.555e-8
displaying d value with d as single return is correct , surprising !
-5.555000e-8
Any comments ?
I think you miss a miss in the format specification. e.g. “-#.###e+”
Use +#.###e
(plus sign at format start)
display a negative value properly, for positive a value it’s also correct with out + sign.
thank you Christian.
it’s ok, using +#.###e display value with sign - or +
thank you Lee.