Home > Available Help Files > PC-DMIS BASIC Language > Language Reference A – Z > Val > Example:
Current Help System: PC-DMIS BASIC (View Core Help)
Example:
Sub main
Dim Msg
Dim YourVal As Double
YourVal = Val(InputBox$("Enter a number"))
Msg = "The number you enered is: " & YourVal
MsgBox Msg
End Sub