English (United Kingdom) Hebrew

class Number

Base class: Object

Inherited classes: Empty

Description: represents a number: a number may be integer or real

Fields:
Empty
Methods:
  • ceil(): Returns the next round number after this number
  • floor(): Returns the largest integer value that is less than or equal to the this number
  • fraction(): Returns the fraction part of a number
  • is_integer(): Returns true if the number is integer, and false otherwise
  • null(): Returns integer closest to this number
  • sqrt(): Returns the square root of this number
  • to_integer(): Returns the integer computed by truncation of the fraction in this number
Events:
Empty


Back to Mama reference