You could write a routine to check the value if its a real number, make it an 
integer. That's about the best I think you can hope for doing it the way you are 
now. 

Wayne