Version: 0.6.1

numeric

integer

Parse an integer and return it as a string. Use ->map('intval') or similar to cast it to a numeric type.

Example: "-123"

function integer() : Parser

float

Parse a float and return it as a string. Use ->map('floatval') or similar to cast it to a numeric type.

Example: -123.456E-789

function float() : Parser