Returns the absolute value of a number.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The absolute value of a number. |
Example:
=ABS(-145.789)
Output: 145.789
Returns the arccosine of a number in radians in the range of 0 to PI.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The arccosine of a number in radians in the range of 0 to PI. |
Note
The value of n should be in the range of -1 and 1.
Example:
=ACOS(45)
Output: 1.0973008
Returns the arcsine of a number in radians in the range of -PI/2 to PI/2.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The arcsine of a number in radians in the range of -PI/2 to PI/2. |
Note
The value of n should be in the range of -1 and 1.
Example:
=ASIN(0.456)
Output: 0.4734955
Returns the arctangent of a number in radians in the range of -PI/2 to PI/2.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The arctangent of a number in radians in the range of -PI/2 to PI/2. |
Example:
=ATAN(45)
Output: 1.5485778
Returns the average value from a set of values.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The average value from a set of values. |
Note
This function requires a minimum of 2 arguments.
Example:
=AVG(45, 23, 56.75, 1.23456)
Output: 31.25
Rounds a number to the next highest integer value.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | A number rounded to the next highest integer value. |
Example:
=CEIL(145.565)
Output: 146.0
Returns the cosine of an angle.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The cosine of an angle. |
Example:
=COS(45)
Output: 0.52532196
Convert radians to degrees.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | Degrees value given value in radians. |
Note
The resultant value will be float for input type byte, short, int, float and double for input type long and double.
Example:
=DEGREES(45)
Output: 2578.31
Gives the result of division of 2 numbers.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of division of 2 numbers. |
Example:
=DIV(34, 56.13456)
Output: 0.6056875
Gives the result of division of N numbers.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of division of N numbers. |
Note
This function requires a minimum of 2 arguments.
Example:
=DIV_N(12, 34, 34.56, 56.13456)
Output: 1.8192746E-4
Rounds a number to the closest decimal place.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | A number rounding it to the closest decimal place. |
Example:
=DROUND(145.565, 2)
Output: 145.57
Returns the nearest even number.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The nearest even number. |
Example:
=EVEN(22.77786565)
Output: 24.0
Rounds a number to the next lowest integer value.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | A number to the next lowest integer value. |
Example:
=FLOOR(145.789)
Output: 145.0
Returns a default value when the first argument is not a number.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | A default value when the first argument is not a number. |
Example:
=IFNAN("12345", -999999)
Output: 12345
=IFNAN("NaN")
Output: Error: IFNAN argument '2' is mandatory
=IFNAN("NaN", -999999)
Output: -999999
=IFNAN("", -999999)
Output: 0
=IFNAN("", -999999, 10)
Output: 10
Returns the logarithmic value to the base 10.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The logarithmic value to the base 10. |
Example:
=LOG10(23)
Output: 1.3617278
Returns the logarithmic value to the base 2.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The logarithmic value to the base 2. |
Example:
=LOG2(23)
Output: 4.523562
Returns the natural logarithmic value of a number.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The natural logarithmic value of a number. |
Example:
=LOGn(23)
Output: 3.1354942
Returns the largest value from a set of values.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The largest value from a set of values. |
Note
This function requires a minimum of 2 arguments.
Example:
=MAX(45, 23, 56.75, 1.23456)
Output: 56.75
Returns the lowest value from a set of values.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The lowest value from a set of values. |
Note
This function requires a minimum of 2 arguments.
Example:
=MIN(45, 23, 56.75, 1.23456)
Output: 1.23456
Gives the remainder from the division of the first argument by the second.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The remainder from the division of the first argument by the second. |
Note
float and double data types are not supported.
Example:
=MOD(147, 5)
Output: 2
Gives the result of product of 2 numbers.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of product of 2 numbers. |
Example:
=MUL(5.123f, 23.0d)
Output: 117.82900333404541
Gives the result of product of N numbers.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of product of N numbers. |
Note
This function requires a minimum of 2 arguments.
Example:
=MUL_N(12, 34, 34.56, 56.13456)
Output: 791524.25
Gives the negated value of a number.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The negated value of a number. |
Example:
=NEGATE(145)
Output: -145
Returns the nearest even number.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The nearest even number. |
Example:
ODD(22.77786565)
Output: 23.0
Gives the result of a number raised to the power.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of a number raised to the power. |
Example:
=POW(2, 2.3)
Output: 4.9245777
Converts the degrees to radians.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | Value in radians for given input value in degrees. |
Note
The resultant value will be float for input type byte, short, int, float and double for input type long and double.
Example:
=RADIANS(2578.31)
Output: 45.0
Generates a random value depending on the length, type and seed values.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.String |
| Returns: | A random value depending on the length, type and seed values. |
Example:
1. RAND(6, "N")
2. RAND(6,"")
3. RAND(6,"N",455666)
Output:
1. 215711
2. QXSRNB
3. 458918
Returns the rounded value.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The rounded value. |
Example:
=ROUND(145.565)
Output: 146
Returns the sine of an angle.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The sine of an angle. |
Example:
=SIN(45)
Output: 0.8509035
Returns the square root of a number.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The square root of a number. |
Example:
=SQRT(45)
Output: 6.708204
Gives the result of subtraction of 2 numbers.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of subtraction of 2 numbers. |
Example:
=SUB(12, 56.13456)
Output: -44.13456
Gives the result of subtraction of N numbers.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of subtraction of N numbers. |
Note
This function requires a minimum of 2 arguments.
Example:
=SUB_N(12, 34, 34.56, 56.13456)
Output: -112.694565
Gives the result of addition of 2 numbers.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of addition of 2 numbers. |
Example:
=SUM(2.4566, 1.2345f)
Output: 3.6911001
Gives the result of addition of N numbers.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | The result of addition of N numbers. |
Note
This function requires a minimum of 2 arguments.
Example:
=SUM_N(12, 34, 34.56, 56.13456)
Output: 136.69455
Returns the tangent of an angle.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Number |
| Returns: | Returns the tangent of an angle. |
Example:
=TAN(45)
Output: 1.6197752