Num

Holds a numeric 64 bit floating point value

Constructors

this
this(Num n)
Undocumented in source.
this
this(double val, string unit)
Undocumented in source.

Alias This

val

Members

Functions

opAssign
void opAssign(double val)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(const(Num) num)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(double d)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

isINF
bool isINF [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isNaN
bool isNaN [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
to
T to [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

unit
string unit;

the unit defined for this number

val
double val;

the value

Meta