I have a textbox and when I put 3.5 I'm formatting the using hh:nn but it keeps putting 03:05 when it should be 03:50, why is this? Any Ideas?
Thanks in advance...!
Did you try to enter 3.50?
"There are two ways to write error-free programs. Only the third one works."
I don't understand why 3.5 "should be" 03:50? I would expect it to be 03:30 (30 minutes is 0.5 hours). Try this:
txtTime.Text = Format(Format(txtTime.Text, "00.00"), "Short Time")
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
That did it.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center