idea (because there is many many ways to do this):
count the number of digits after the period and if you have two cancel the input...
by the way.. if you are using .Net, why are you using instr???
Read this if you want to know how to get a correct reply for your question:
^^Took that from dparsons signature and he Took that from planoie's profile
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE