Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,925 of 10,840    |
|    code_wrong to All    |
|    viusal basic input validation integer    |
|    28 Feb 06 20:01:47    |
      XPost: comp.programming       From: tac@tac.co.uk              Visual Basic (not dot net)       what is the best way to check the User has entered an integer into an       InputBox?              isNumeric() checks for a numeric value .. but does not notify of numbers       with decimal places       inputBox returns a string so I could check for decimal point??? this seems       like overkill              The value returned can be asigned into an Integer type and then a Single       type ... the two can be compared .. but still this does not complain about       numbers with decimal places if the fractional part is zero              what is the simple solution?              cw              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca