in reply to Filter "Nan" from user input

Check out test::numeric