Hello,
I'm finding strange things with the double float type:
LOCAL kk AS DOUBLE
kk = 1.0005
MSGBOX(STR$(kk))
This gives a msgbox of "1.00049996376038" !!!
?????
It should be "1.0005"
Why is this happening and can I correct the behaviour? I'm using PB/Win 8.0
Thanks, alex
I'm finding strange things with the double float type:
LOCAL kk AS DOUBLE
kk = 1.0005
MSGBOX(STR$(kk))
This gives a msgbox of "1.00049996376038" !!!
?????
It should be "1.0005"
Why is this happening and can I correct the behaviour? I'm using PB/Win 8.0
Thanks, alex
Comment