by R. C. Sharma (4 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Mon 28th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
If you are inputting a numeral by any tool, it may be necessary to find if it is a valid number. Most of the OCX controls return the input as
ValidateNumeral=false
'x is a variant
xx=trim(str(val(x)))
if xx=x then
ValidateNumeral=true
endif
end function
No comments have been posted about If you are inputting a numeral by any tool, it may be necessary to find if it is a valid number. Mo. Why not be the first to post a comment about If you are inputting a numeral by any tool, it may be necessary to find if it is a valid number. Mo.