Main Site Documentation

Double.ToString Format need help


#1

there is some way to format double value tostring()
like this:
44.0001400002
to be like a: 44.00014


#2


double d = 4.0001400002;
Debug.Print(d.ToString("F5");


ToString(“Fx”), where x is number of decimal places you want.