abstract const class sys::Num

sys::Obj
  sys::Num

Num is the base class for number classes: Int, Float, and Decimal.

toFloat

abstract Float toFloat()

Convert this number to a Float.

toInt

abstract Int toInt()

Convert this number to an Int.