Tim Brierley wrote: > > It is probably slower, but you could do an if int(a)=a... you can use this > same thing to check if a number is divisibel by N if int(a/n)=(a/n)... in wouldnt "If mod(a,n)=0" be better? -- Bill Risher Sparr UIN:1952775 __ Faction #44 Makra FON:6156484164 ( ) mailto://billr1@geocities.com FAX:6155526807 \/ http://www.geocities.com/SiliconValley/Vista/5807/index.html ()