| Class | Description |
|---|---|
| AbsFunctionExtension |
abs(a);
Returns the absolute value of 'a'.
|
| AcosFunctionExtension |
acos(a);
Returns the arc-cosine(inverse cosine) of 'a' if -1<=a<=1 or NULL otherwise.
|
| AsinFunctionExtension |
asin(a);
Returns the arc sin(inverse sine) of a if -1<=a<=1 or NULL otherwise.
|
| AtanFunctionExtension |
atan(a); or atan(a,b);
Returns the arc-tangent(inverse tangent).
|
| BinaryFunctionExtension |
bin(a)
This class wraps the java.lang.Integer.toBinaryString and java.lang.Long.toBinaryString methods,
which return a string representation of the integer/long argument as an unsigned integer in base 2.
|
| CeilingFunctionExtension |
ceil(a)
Wraps java.lang.Math.ceil()
Returns the smallest (closest to negative infinity) double value that is greater
than or equal to the argument and is equal to a mathematical integer.
|
| ConvertFunctionExtension |
conv(a,fromBase,toBase)
convert the value from one base to other base.
|
| CopySignFunctionExtension |
copysign(magnitude,sign);
Returns the first argument with the sign of the second argument.
|
| CosFunctionExtension |
cos(a);
Returns the cosine of a (a is in radians).
|
| CoshFunctionExtension |
cosh(a);
Returns the hyperbolic cosine of a (a is in radians).
|
| CubeRootFunctionExtension |
cbrt(a);
Returns the cube-root of a (a is in radians).
|
| EFunctionExtension |
e();
Returns the value of e.
|
| ExponentFunctionExtension |
exp(a)
Returns Euler's number e raised to the power of 'a' - the input argument
Accept Type(s) :INT/LONG/FLOAT/DOUBLE
Return Type(s): DOUBLE
|
| FloorFunctionExtension |
floor(a)
A Class which is used to calculate the floor value.
|
| GetExponentFunctionExtension |
get_exponent(a)
Returns the unbiased exponent used in the representation of 'a'
Accept Type(s) :INT/LONG/FLOAT/DOUBLE
Return Type(s): INT
|
| HexFunctionExtension |
hex(a)
Converts 'a' to hex
Accept Type(s):INT,LONG,FLOAT,DOUBLE
Return Type(s): STRING
|
| IsInfiniteFunctionExtension |
is_infinite(value);
Returns true if 'value' is infinite; Returns false otherwise.
|
| IsNanFunctionExtension |
is_nan(value);
Returns true if 'value' is NaN; Returns false otherwise.
|
| LnFunctionExtension |
ln(a);
Returns the natural logarithm (base e) of the given value.
|
| Log10FunctionExtension |
log10(a);
Returns the base 10 logarithm of 'a'.
|
| Log2FunctionExtension |
log2(a);
Returns the base 2 logarithm of 'a'.
|
| LogFunctionExtension |
log(number,base);
Returns the logarithm (base='base') of the given 'number'.
|
| MaxFunctionExtension |
max(a,b);
Returns the greater of 'a' and 'b'.
|
| MinFunctionExtension |
min(a,b);
Returns the minimum of 'a' and 'b'.
|
| OctalFunctionExtension |
oct(a)
Converts 'a' to octal
Accept Type(s):INT,LONG
Return Type(s): STRING
|
| ParseDoubleFunctionExtension |
parseDouble(string);
Returns the 'string' as a DOUBLE
Accept Type(s): STRING
Return Type(s): DOUBLE
|
| ParseFloatFunctionExtension |
parseFloat(string);
Returns the 'string' as a FLOAT
Accept Type(s): STRING
Return Type(s): FLOAT
|
| ParseIntFunctionExtension |
parseInt(string);
Returns the 'string' as an INTEGER
Accept Type(s): STRING
Return Type(s): INT
|
| ParseLongFunctionExtension |
parseLong(string);
Returns the 'string' as a LONG
Accept Type(s): STRING
Return Type(s): LONG
|
| PercentileFunctionExtension |
AttributeAggregator which implements the following function.
|
| PiFunctionExtension |
pi();
Returns the value of pi.
|
| PowerFunctionExtension |
power(value,toPower);
A Class which is used to calculate power of a value.
|
| RandomFunctionExtension |
rand() or rand(seed);
A sequence of calls to rand(seed) generates a stream of pseudo-random numbers.
|
| RoundFunctionExtension |
round(a);
Returns the closest value to the argument, with ties rounding up.
|
| SignFunctionExtension |
signum(a);
Returns the sign of a as '1.0' (if a is positive) or '-1.0' (if a is
negative), '0.0' otherwise.
|
| SinFunctionExtension |
sin(a);
Returns the sine of a (a is in radians).
|
| SinhFunctionExtension |
sinh(a);
Returns the hyperbolic sine of a (a is in radians).
|
| SquareRootFunctionExtension |
sqrt(a);
Returns the square-root of a.
|
| TanFunctionExtension |
tan(a);
Returns the tan of a (a is in radians).
|
| TanhFunctionExtension |
tanh(a);
Returns the hyperbolic tangent of a (a is in radians).
|
| ToDegreesFunctionExtension |
to_degrees(a);
Converts the given parameter from radians to degrees.
|
| ToRadiansFunctionExtension |
to_radians(a)
Converts a from degrees to radians.
|
Copyright © 2019 WSO2. All rights reserved.