You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The number object represents a numeric value and includes arithmetical functions and a convert to a string type

NameDescriptionParametersReturn TypeUsage Examples
AddAdds the specified number to the current number and returns the result
number

CeilingReturns the smallest integer greater than or equal to the current decimal number
number

DecrementDecrements the current number by one
number

DivideDivides the current number by the specified number and returns the result
number

FloorReturns the largest integer less than or equal to the current decimal number
integer

IncrementIncrements the current number by one
number

IntegerDivideDivides the current integer by the specified integer and returns an integer result
integer

ModulusReturns the remainder after dividing the current number by the specified number
number

MultiplyMultiplies the current number by the specified number and returns the result
number

RoundRounds the current decimal number to the nearest integer
integer

SubtractSubtracts the specified number from the current number and returns the result
number

ToStringParses current number to a string, allowing string operations and functions
string







  • No labels