Hi
this may seem like a silly question but what is the best way to validate that a text box has had an integer entered so as to avoid a data overflow bug.
I'm validating that its a number but if a ridiculously long number is entered the overflow occurs. It seems messy to test for the value being between the min and max
integer values ...
Any thoughts?
Thanks in advance
Transcend
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)
this may seem like a silly question but what is the best way to validate that a text box has had an integer entered so as to avoid a data overflow bug.
I'm validating that its a number but if a ridiculously long number is entered the overflow occurs. It seems messy to test for the value being between the min and max
integer values ...
Any thoughts?
Thanks in advance
Transcend
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)