Data source: http://rosettacode.org/wiki/Determine_if_a_string_is_numeric