decimal package:parsec-numbers

parse plain non-negative decimal numbers given by a non-empty sequence of digits
same as floating but returns a non-negative integral wrapped by Left if a fractional part and exponent is missing
same as fractional but returns a non-negative integral wrapped by Left if a fractional part is missing
parse a hexadecimal number preceded by an x or X character