Abstracts a number parser from the integer parser.
Supports single and double precision floating point numbers.