When I view a Double variable, it shows 0.6, 1.2, 1
How do I format it to 00.60, 01.20, 01.11?
Printable View
When I view a Double variable, it shows 0.6, 1.2, 1
How do I format it to 00.60, 01.20, 01.11?
Hi,
Format(myValue, "#,###.00")
:D
Well, if you want to keep the true value internally, and only format it for display to the user....
then...
MyDouble.ToString("00.00")
instead of Format function, which I believe is part of the VisualBasic namespace...
thanx. it's working fine now:)