Numeric Parsers

| Home | Libraries | People | FAQ | More

##### Numeric Parsers

Expression | Attribute | Description
--- | --- | ---
`float_` | `float` | Parse a floating point number into a `float`
`float_(num)` | `float` | Parse a floating point number into a `float`, a number is matched only if it's `num`
`double_` | `double` | Parse a floating point number into a `double`
`double_(num)` | `double` | Parse a floating point number into a `double`, a number is matched only if it's `num`
`long_double` | `long double` | Parse a floating point number into a `long double`
`long_double(num)` | `long double` | Parse a floating point number into a `long double`, a number is matched only if it's `num`
`bin` | `unsigned` | Parse a binary integer into an `unsigned`
`oct` | `unsigned` | Parse an octal integer into an `unsigned`
`hex` | `unsigned` | Parse a hexadecimal integer into an `unsigned`
`ushort_` | `unsigned short` | Parse an unsigned short integer
`ushort_(num)` | `unsigned short` | Parse an unsigned short integer, a number is matched only if it's `num`
`ulong_` | `unsigned long` | Parse an unsigned long integer
`ulong_(num)` | `unsigned long` | Parse an unsigned long integer, a number is matched only if it's `num`
`uint_` | `unsigned int` | Parse an unsigned int
`uint_(num)` | `unsigned int` | Parse an unsigned int, a number is matched only if it's `num`
`ulong_long` | `unsigned long long` | Parse an unsigned long long
`ulong_long(num)` | `unsigned long long` | Parse an unsigned long long, a number is matched only if it's `num`
`short_` | `short` | Parse a short integer
`short_(num)` | `short` | Parse a short integer, a number is matched only if it's `num`
`long_` | `long` | Parse a long integer
`long_(num)` | `long` | Parse a long integer, a number is matched only if it's `num`
`int_` | `int` | Parse an int
`int_(num)` | `int` | Parse an int, a number is matched only if it's `num`
`long_long` | `long long` | Parse a long long
`long_long(num)` | `long long` | Parse a long long, a number is matched only if it's `num`