My favorites | Sign in
Project Logo
                
Search
for
Updated Jan 14, 2008 by joakim.ahnfelt
Numbers  
Double precision floating point numbers.

Methods

ToString Returns a string representation of the number (for example "42" or "3.7e12").
IsDefined Returns true if the number isn't NaN (not a number).
IsPositiveInfinity Returns true if the number is positive infinity.
IsNegativeInfinity Returns true if the number is negative infinity.
Negate Returns the same number, except the sign is reversed.
Floor Returns the nearest whole number less than or equal to this number.
Ceil Returns the nearest whole number greater than or equal to this number.
Round Returns the nearest whole number (default rounding mode).
Min other Returns the least of this and the other number.
Max other Returns the greatest of this and the other number.
To n Returns a list containing a sequence of numbers from this number up to n inclusive (step 1).
ToStep n s Returns a list containing a sequence of numbers from this number up to n inclusive (step s).
Until n Returns a list containing a sequence of numbers from this number up to n exclusive (step 1).
UntilStep n s Returns a list containing a sequence of numbers from this number up to n exclusive (step s).
Mod n Returns the remainder of this number divided by n.
Add n Returns this number plus n.
Subtract n Returns this number minus n.
Multiply n Returns this number times n.
Divide n Returns this number divided by n.
Power n Returns this number raised to the power of n.
Power n Returns this number raised to the power of n.
Less other Returns true if this number is less than the other number.
Greater other Returns true if this number is greater than the other number.
LessEqual other Returns true if this number is less than or equal to the other number.
GreaterEqual other Returns true if this number is greater than or equal to the other number.
Equal other Returns true if this number is equal to the other number.


Sign in to add a comment
Hosted by Google Code