almubarmeg Posted May 5, 2003 Posted May 5, 2003 Hello, every one i want to know how can i approximate the result of a time to be two digits for exampple time 1= 3.98888888 i want it 3.99 with two digits thanks Quote
hog Posted May 5, 2003 Posted May 5, 2003 Dim dblNumber As Double = 3.98888888 MessageBox.Show(Format(dblNumber, "0.00")) Quote My website
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.