in reply to Data::Types or grok_number
How about Scalar::Util::Numeric?
This module exports a number of wrappers around perl's builtin grok_number function,...
Dave