home bbs files messages ]

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,933 of 10,840   
   Raoul Watson to tac@tac.co.uk   
   Re: viusal basic input validation intege   
   01 Mar 06 22:42:22   
   
   From: WatsonR@IntelligenCIA.com   
      
   "code_wrong"  wrote in message   
   news:4404b324$1_1@mk-nntp-2.news.uk.tiscali.com...   
   >   
   > unfortunately I am restricted to using inputbox() ... why? .. if I change   
   > the method for input now, the students will likely will be traumatised ..   
   > these are very early days   
   >   
      
   num = VAL(Text1.text)   
   if num*10 / 10  =  INT(num*10/10) then debug.print "whole number" else   
   debug.print "has decimal"   
      
   --- 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