parse_number function

Parse numbers, flexibly