TANH()
Hyperbolic tangent
DOUBLE PRECISION
TANH (number)
Parameter | Description |
---|---|
number |
An expression of a numeric type |
Due to rounding, the result is in the range [-1, 1] (mathematically, it’s <-1, 1>).
Functions for Sequences (Generators)
TANH()
Hyperbolic tangent
DOUBLE PRECISION
TANH (number)
Parameter | Description |
---|---|
number |
An expression of a numeric type |
Due to rounding, the result is in the range [-1, 1] (mathematically, it’s <-1, 1>).
TRUNC()
Truncate number
single argument: integer type, DOUBLE PRECISION
or DECFLOAT
;
two arguments: numerical, matching first argument
TRUNC (number [, scale])
Parameter | Description |
---|---|
number |
An expression of a numeric type |
scale |
An integer specifying the number of decimal places toward which truncating is to be performed, e.g.:
|
The single argument variant returns the integer part of a number.With the optional scale argument, the number can be truncated to powers-of-ten multiples (tens, hundreds, tenths, hundredths, etc.).
Note
|
|
Important
|
If you are used to the behaviour of the external function |
ACOSH()
Inverse hyperbolic cosine
DOUBLE PRECISION
ACOSH (number)
Parameter | Description |
---|---|
number |
Any non- |
The result is in the range [0, INF].
ASIN()
Arc sine
DOUBLE PRECISION
ASIN (number)
Parameter | Description |
---|---|
number |
An expression of a numeric type within the range [-1, 1] |
The result is an angle in the range [-pi/2, pi/2].