07-23-2013 01:10 AM
Hello,
I am trying to print decimal number but i always got the decimal number (between -1 to 1) witout "0" or "-0"
Dim num:num= 0.235
Msgbox(num)
its print: ".235"
thanks
Solved! Go to Solution.
07-23-2013 12:56 PM
Hello OzShimon,
That's odd, I just tried your code and get this result:
I did notice that this behavior can be changed in the "Regions and Language" configuration of Windows. In Windows 7 it's this dialog:
If I change the settings in this dialog to no leading zeros, the result is the same as you described.
Can you check your Windows settings and confirm that yours looks the same as mine?
Best regards,
Otmar
07-24-2013 01:57 AM
Thanks it's working!!