Function
|
Signature
|
Meaning
|
Availability
|
---|---|---|---|
Integer
|
Integer Integer(Ob ject value)
|
Returns an integer, if the specified value is a numeric value, for example, a number or a ![]() otherwise, null. |
Codebeamer 9.3.0 and later
|
Number
|
Number Number(Object value)
|
Returns a number, if the specified value is a numeric value, for example, a number or a ![]() otherwise, null. |
Codebeamer 9.3.0 and later
|
random
|
Double random()
|
Generates a pseudo random number in the range [0 .. 1).
|
Codebeamer 9.3.0 and later
|
sin
|
Double sin(Number angle)
|
Returns the trigonometric sine of an angle (in radians).
|
Codebeamer 9.3.0 and later
|
cos
|
Double cos(Number angle)
|
Returns the trigonometric cosine of an angle (in radians).
|
Codebeamer 9.3.0 and later
|
tan
|
Double tan(Number angle)
|
Returns the trigonometric tangent of an angle (in radians).
|
Codebeamer 9.3.0 and later
|
asin
|
Double asin(Number value)
|
Returns the arc sine of a value; the returned angle is in the range [-Π/2 .. Π/2].
|
Codebeamer 9.3.0 and later
|
acos
|
Double acos(Number value)
|
Returns the arc cosine of a value; the returned angle is in the range [0 .. Π].
|
Codebeamer 9.3.0 and later
|
atan
|
Double atan(Number value)
|
Returns the arc tangent of a value; the returned angle is in the range [-Π/ 2 .. Π/2].
|
Codebeamer 9.3.0 and later
|
toRadians
|
Double toRadians(Num ber angle)
|
Converts an angle measured in degrees to an approximately equivalent angle measured in
radians.
|
Codebeamer 9.3.0 and later
|
toDegrees
|
Double toDegrees(Num ber radians)
|
Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
|
Codebeamer 9.3.0 and later
|
xp
|
Double exp(Number x)
|
Returns thex, whereeisEuler's number.
|
Codebeamer 9.3.0 and later
|
sinh
|
Double sinh(Number x)
|
Returns the hyperbolic sine of a value, that is defined to be: (ex-e-x) / 2
|
Codebeamer 9.3.0 and later
|
cosh
|
Double cosh(Number x)
|
Returns the hyperbolic cosine of a value, that is defined to be: (ex+e-x) / 2
|
Codebeamer 9.3.0 and later
|
tanh
|
Double tanh(Number x)
|
Returns the hyperbolic tangent of a value, that is defined to be: (ex-e-x) / (ex+e-x), in other words: sinh(x) / cosh(x).
|
Codebeamer 9.3.0 and later
|
log
|
Double log(Number x)
|
Returns thenatural logarithm(basee) of a value: ln(x) or loge(x)
|
Codebeamer 9.3.0 and later
|
log10
|
Double log10(Number x)
|
Returns the base 10 logarithm of a value: log10(x)
|
Codebeamer 9.3.0 and later
|
sqrt
|
Double sqrt(Number x)
|
Returns the (positive) square root of a value: √x
|
Codebeamer 9.3.0 and later
|
cbrt
|
Double cbrt(Number x)
|
Returns the cube root of the value:a√x
|
Codebeamer 9.3.0 and later
|
pow
|
Number pow(Number x, Number y)
|
Returns the value ofxraised to the power ofy:xy
|
Codebeamer 9.3.0 and later
|
abs
|
Number abs(Number x)
|
Returns theabsolute value: |x| |
Codebeamer 9.3.0 and later
|
floor
|
Long floor(Number x)
|
Returns the largest integer value ≤x.
|
Codebeamer 9.3.0 and later
|
ceil
|
Long ceil(Number x)
|
Returns the smallest integer value ≥x.
|
Codebeamer 9.3.0 and later
|
round
|
Long round(Number x)
|
Returns the integer value, that is closest to x.
|
Codebeamer 9.3.0 and later
|
signum
|
Integer signum(Number x)
|
Returns -1, 0, or 1, depending on whether the number is less than, equal to, or greater than 0.
|
Codebeamer 9.3.0 and later
|