Number

Represents a numerical value

Constructors

this
this(BigInt value)
Undocumented in source.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_value
BigInt m_value;

The numerical value

Examples

BigInt value = BigInt("0x1234");
auto token = new Number(value);
assert(token.toString() == "Number(0x1234)");
assert(token.m_value == value);

Meta