#Integer validation

3 messages · Page 1 of 1 (latest)

strange wagonBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

sand hemlock
#

QUESTION:-

To validate input of int variable :-

Example:-
if
input=1234567890
Output=1234567890

If
Input=123k45678i
Ask for input again till enter valid integer without any other characters other than digits

strange wagonBOT
#

@sand hemlock

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. You can use !solved to close a post and mark it as solved.