Hi guys
I am getting a problem in storing correct decimal value in a textbox. E.g text12=7.30 and text83=6.10 then in the following code text130 stores value 1.2 which is not correct. The right value should be 1.20
Can anyone please sort out my problem.
Thanks
Aman
I am getting a problem in storing correct decimal value in a textbox. E.g text12=7.30 and text83=6.10 then in the following code text130 stores value 1.2 which is not correct. The right value should be 1.20
Code:
Text130 = Val(Text12) - Val(Text83)
MsgBox "Please select any suitable option from the option box in the form to put rest of " & Text130 & " hrs", vbInformation, "Select an option"
Can anyone please sort out my problem.
Thanks
Aman