logo

abstract const class

sys::Num

sys::Obj
  sys::Num

Num is the base class for number class including Int and Float.

Slots

make

new make()

Protected constructor.

toFloat

virtual Float toFloat()

Convert this number to a Float.

toInt

virtual Int toInt()

Convert this number to an Int.