VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



If you are inputting a numeral by any tool, it may be necessary to find if it is a valid number. Mo

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

Rate If you are inputting a numeral by any tool, it may be necessary to find if it is a valid number. Mo



ValidateNumeral=false
'x is a variant
xx=trim(str(val(x)))
if xx=x then
ValidateNumeral=true
endif
end function

Download this snippet    Add to My Saved Code

If you are inputting a numeral by any tool, it may be necessary to find if it is a valid number. Mo Comments

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.

Post your comment

Subject:
Message:
0/1000 characters