sys::Obj sys::Num
Num is the base class for number classes: Int, Float, and Decimal.
Int
Float
Decimal
new make()
Protected constructor.
Source
virtual Decimal toDecimal()
Convert this number to a Decimal.
virtual Float toFloat()
Convert this number to a Float.
virtual Int toInt()
Convert this number to an Int.