How can we read an entered value in a text field to determine whether it is numeric or not through lotusscript?There is a text field i want the user to enter numeric characters only and not the alphabets and if any users enters alphabets then how can i determine it thru lotusscript?
Subject: How to read the value entered in a text field is numeric or not in lotusscript?
isNumeric?
From the Help:
Dim v As Variant
Print IsNumeric(v) ’ Output: True (v is EMPTY)
v = 12
Print IsNumeric(v) ’ Output: True
’ A string that is not interpretable as a number
v = “Twelve”
Print IsNumeric(v) ’ Output: False
’ A string that is interpretable as a number
v = “12”
Print IsNumeric(v) ’ Output: True