Get absolute value of number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the angle whose cosine is the specified number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the angle whose sine is the specified number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the angle whose tangent is the specified number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the angle whose tangent is the quotient of two specified numbers.
| Name | Type | Description |
|---|---|---|
| x | num | number |
| y | num | number |
Cast value to a number or nil if not possible.
| Name | Type | Description |
|---|---|---|
| value | any | value to cast |
Get the smallest integer greater or equal to the specified number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the cosine of the specified angle.
| Name | Type | Description |
|---|---|---|
| angle | num | angle |
Get the hyperbolic cosine of the specified angle.
| Name | Type | Description |
|---|---|---|
| angle | num | angle |
Get e raised to the specified number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the largest integer less or equal to the specified number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Show number in custom format.
| Name | Type | Description |
|---|---|---|
| number | num | number |
| format | str | number format string (http://msdn2.microsoft.com/en-us/lib...k8(VS.80).aspx) |
Get the integral part of the specified number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Check if number is infinite.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Check if number is not-a-number (NaN).
| Name | Type | Description |
|---|---|---|
| number | num | number |
Check if number is negative infinity.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Check if number is positive infinity.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the logarithm of the specified number in the specified base.
| Name | Type | Description |
|---|---|---|
| number | num | number |
| base | num | (optional) base (default: e) |
Get the larger of two numbers.
| Name | Type | Description |
|---|---|---|
| first | num | first number |
| second | num | second number |
Get the smaller of two numbers.
| Name | Type | Description |
|---|---|---|
| first | num | first number |
| second | num | second number |
Get the specified number raised to the specified power.
| Name | Type | Description |
|---|---|---|
| base | num | base number |
| exponent | num | exponent number |
Return a random number between 0 and 1.
Round to nearest number with given precision.
| Name | Type | Description |
|---|---|---|
| number | num | number |
| digits | num | (optional) digits to keep after decimal point (default: 0) |
Create a series of numbers.
| Name | Type | Description |
|---|---|---|
| start | num | starting value |
| end | num | ending value |
| step | num | (optional) step value (default: 1 or -1) |
Get a value indicating the sign of the number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the sine of the specified angle.
| Name | Type | Description |
|---|---|---|
| angle | num | angle |
Get the hyperbolic sine of the specified angle.
| Name | Type | Description |
|---|---|---|
| angle | num | angle |
Get the square root of the specified number.
| Name | Type | Description |
|---|---|---|
| number | num | number |
Get the tangent of the specified angle.
| Name | Type | Description |
|---|---|---|
| angle | num | angle |
Get the hyperbolic tangent of the specified angle.
| Name | Type | Description |
|---|---|---|
| angle | num | angle |