Numbers

object Numbers
class Object
trait Matchable
class Any

Value members

Fields

val digit: Parser[Char]
a single base 10 digit
val digits0: Parser0[String]
zero or more digit chars
val digits: Parser[String]
one or more digit chars
val nonZeroDigit: Parser[Char]
a single base 10 digit excluding 0
A String of either 1 '0' or
1 non-zero digit followed by zero or more digits
val signedIntString: Parser[String]
A nonNegativeIntString possibly preceded by '-'
val bigInt: Parser[BigInt]
map a signedIntString into a BigInt
val jsonNumber: Parser[String]
A string matching the json specification for numbers.
from: https://tools.ietf.org/html/rfc4627