decimal package:parsec

Parses a non-negative whole number in the decimal system. Returns the value of the number.
Parses a non-negative whole number in the hexadecimal system. The number should be prefixed with "x" or "X". Returns the value of the number.