Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionReturn TypeUsage Examples
Add(number x)Adds the specified number to the current number and returns the resultnumberNumber

Ceiling()Returns the smallest integer greater than or equal to the current decimal numbernumberInteger


Decrement()Decrements the current number by onenumberNumber


Divide(number x)Divides the current number by the specified number and returns the resultnumberNumber


Floor()Returns the largest integer less than or equal to the current decimal numberintegerInteger


Increment()Increments the current number by onenumberNumber


IntegerDivide(integer x)Divides the current integer by the specified integer and returns an integer resultintegerInteger


Modulus(number x)Returns the remainder after dividing the current number by the specified numbernumberInteger


Multiply(number x)Multiplies the current number by the specified number and returns the resultnumberNumber


Round()Rounds the current decimal number to the nearest integerintegerInteger


Subtract(number x)Subtracts the specified number from the current number and returns the resultnumberNumber


ToString()Parses current number to a string, allowing string operations and functionsstringString