> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/acron-9.3/en/intro/funktionen/funk_mathe.md).

# Functions Mathematical

The Mathematical functions group contains functions that you can use to perform complex calculations and comparisons. In the group you will find the following functions:

The first column of the table contains the name of the function as you enter it in an expression. The second column contains the data types of the argument(s), and the third column contains the data type of the function's return value.

| Function                       | Arguments                                | Return value: |
| ------------------------------ | ---------------------------------------- | ------------- |
| [Abs](#func_abs)               | (NUMBER)                                 | NUMBER        |
| [Acos](#func_acos)             | (NUMBER)                                 | NUMBER        |
| [Acosh](#func_acosh)           | (NUMBER)                                 | NUMBER        |
| [ASin](#func_asin)             | (NUMBER)                                 | NUMBER        |
| [Asinh](#func_asinh)           | (NUMBER)                                 | NUMBER        |
| [ATan](#func_atan)             | (NUMBER)                                 | NUMBER        |
| [ATan2](#func_atan2)           | (NUMBER, NUMBER)                         | NUMBER        |
| [Atanh](#func_atanh)           | (NUMBER)                                 | NUMBER        |
| [Ceil](#func_ceil)             | (NUMBER)                                 | NUMBER        |
| [Cos](#func_cos)               | (NUMBER)                                 | NUMBER        |
| [Cosh](#func_cosh)             | (NUMBER)                                 | NUMBER        |
| [Degrees](#func_degrees)       | (NUMBER)                                 | NUMBER        |
| [Even](#func_even)             | (NUMBER)                                 | NUMBER        |
| [Exp](#func_exp)               | (NUMBER)                                 | NUMBER        |
| [Exp10](#func_exp10)           | (NUMBER)                                 | NUMBER        |
| [Floor](#func_floor)           | (NUMBER)                                 | NUMBER        |
| [Int](#func_int)               | (NUMBER)                                 | NUMBER        |
| [Frac](#func_frac)             | (NUMBER)                                 | NUMBER        |
| [Log](#func_log)               | (NUMBER)                                 | NUMBER        |
| [Log10](#func_log10)           | (NUMBER)                                 | NUMBER        |
| [Mod](#func_mod)               | (NUMBER, NUMBER)                         | NUMBER        |
| [NumInRange](#func_numinrange) | (NUMBER, NUMBER, NUMBER)                 | BOOL          |
| [Odd](#func_odd)               | (NUMBER)                                 | NUMBER        |
| [Pow](#func_pow)               | (NUMBER, NUMBER)                         | NUMBER        |
| [Quotient](#func_quotient)     | (NUMBER, NUMBER)                         | NUMBER        |
| [Radians](#func_radians)       | (NUMBER)                                 | NUMBER        |
| [Rand](#func_rand)             | (NUMBER, NUMBER, NUMBER])                | NUMBER        |
| [Round](#func_round)           | (NUMBER, NUMBER)                         | NUMBER        |
| [Scale](#func_scale)           | (NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) | NUMBER        |
| [Sign](#func_sign)             | (NUMBER)                                 | NUMBER        |
| [Sin](#func_sin)               | (NUMBER)                                 | NUMBER        |
| [Sinh](#func_sinh)             | (NUMBER)                                 | NUMBER        |
| [Sqrt](#func_sqrt)             | (NUMBER)                                 | NUMBER        |
| [Tan](#func_tan)               | (NUMBER)                                 | NUMBER        |
| [Tanh](#func_tanh)             | (NUMBER)                                 | NUMBER        |
| [Trunc](#func_trunc)           | (NUMBER)                                 | NUMBER        |

It may be that not all the functions in this group are available in the application you are using. The application can deactivate individual functions or entire function groups in the Formula Editor. Those are normally functions which are not needed in the application, because a specific data type is not used for example.

## Abs function <a href="#func_abs" id="func_abs"></a>

|               |                                                                                                                                                                                    |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Abs (NUMBER)                                                                                                                                                                |
| Parameters:   | <ul><li>The value for which the absolute value is to be calculated.</li></ul>                                                                                                      |
| Return value: | The absolute value of the number passed as an argument.                                                                                                                            |
| Description:  | The Abs function returns the absolute value of a number. The absolute value is the unsigned value, i.e. a negative value is returned positive, a positive value remains unchanged. |
| Example:      | <p>Abs (-3) = 3</p><p>Abs (3.12) = 3.12</p>                                                                                                                                        |

## Acos function <a href="#func_acos" id="func_acos"></a>

|               |                                                                                                                                                                                                                                                         |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Acos (NUMBER)                                                                                                                                                                                                                                    |
| Parameters:   | <ul><li>Value for which the angle is to be calculated.<br>The passed value must be in the range between -1 and 1.</li></ul>                                                                                                                             |
| Return value: | The radians in the range 0 to PI for the cosine pass as an argument.                                                                                                                                                                                    |
| Description:  | <p>Calculates the inverse cosine (arc cosine) in radians for the passed value.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | acos (0.997) = 3.06411360866591                                                                                                                                                                                                                         |

## Acosh function <a href="#func_acosh" id="func_acosh"></a>

|               |                                                                                |
| ------------- | ------------------------------------------------------------------------------ |
| Syntax:       | NUMBER Acosh (Number)                                                          |
| Parameters:   | <ul><li>Value for the calculation.</li></ul>                                   |
| Return value: | Result of the inverse hyperbolic function.                                     |
| Description:  | Calculates the inverse hyperbolic cosine for the value passed as the argument. |

## Asin function <a href="#func_asin" id="func_asin"></a>

|               |                                                                                                                                                                                                                                                     |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Asin (NUMBER)                                                                                                                                                                                                                                |
| Parameters:   | <ul><li><p>Value for which the angle is to be calculated.</p><p>The passed value must be in the range between -1 and 1.</p></li></ul>                                                                                                               |
| Return value: | The radian measure in the range -PI/2 to PI/2.                                                                                                                                                                                                      |
| Description:  | <p>Calculates the inverse sine (arc sine) in radians for the passed value.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | asin (0.997) = 1.49331728187102                                                                                                                                                                                                                     |

## Asinh function <a href="#func_asinh" id="func_asinh"></a>

|               |                                                                             |
| ------------- | --------------------------------------------------------------------------- |
| Syntax:       | NUMBER Asinh (Number)                                                       |
| Parameters:   | <ul><li>Value for the calculation.</li></ul>                                |
| Return value: | Result of the inverse hyperbolic function.                                  |
| Description:  | Calculates the inverse hyperbolic sine of the value passed as the argument. |

## Atan function <a href="#func_atan" id="func_atan"></a>

|               |                                                                                                                                                                                                                                                           |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Atan (NUMBER)                                                                                                                                                                                                                                      |
| Parameters:   | <ul><li>Value for which the angle is to be calculated.</li></ul>                                                                                                                                                                                          |
| Return value: | The radian measure in the range -PI/2 to PI/2.                                                                                                                                                                                                            |
| Description:  | <p>Calculates the inverse tangent (arc tangent) in radians for the passed value.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | atan (0.997) = 0.783895911147454                                                                                                                                                                                                                          |

## Atan2 function <a href="#func_atan2" id="func_atan2"></a>

|               |                                                                                               |
| ------------- | --------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Atan2 (NUMBER, NUMBER)                                                                 |
| Parameters:   | <ul><li>X-coordinate for the calculation.</li><li>Y-coordinate for the calculation.</li></ul> |
| Return value: | Arc tangent from x/y.                                                                         |
| Description:  | Calculates the arc tangent for the X and Y coordinates passed as an argument.                 |

## Atanh function <a href="#func_atanh" id="func_atanh"></a>

|               |                                                                                |
| ------------- | ------------------------------------------------------------------------------ |
| Syntax:       | NUMBER Atanh (Number)                                                          |
| Parameters:   | <ul><li>Value for the calculation.</li></ul>                                   |
| Return value: | Result of the inverse hyperbolic function.                                     |
| Description:  | Calculates the inverse hyperbolic tangent for the value passed as an argument. |

## Ceil function <a href="#func_ceil" id="func_ceil"></a>

|               |                                                          |
| ------------- | -------------------------------------------------------- |
| Syntax:       | NUMBER Ceil (NUMBER)                                     |
| Parameters:   | <ul><li>Value to be rounded up.</li></ul>                |
| Return value: | Integer number to which the passed argument was rounded. |
| Description:  | Rounds the number up to the next integer.                |
| Example:      | <p>ceil (2.8) = 3</p><p>ceil (-2.8) = -2</p>             |

## Cos function <a href="#func_cos" id="func_cos"></a>

|               |                                                                                                                                                                                                                                    |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Cos (NUMBER)                                                                                                                                                                                                                |
| Parameters:   | <ul><li>Angle in radians for which the calculation is performed.</li></ul>                                                                                                                                                         |
| Return value: | The cosine of the passed value.                                                                                                                                                                                                    |
| Description:  | <p>Calculates the cosine for the value passed in radians.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | Cos (Pi () / 2) = 0                                                                                                                                                                                                                |

## Cosh function <a href="#func_cosh" id="func_cosh"></a>

|               |                                                                                                                                                                                                                                               |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Cosh (NUMBER)                                                                                                                                                                                                                          |
| Parameters:   | <ul><li>Angle in radians for which the calculation is performed.</li></ul>                                                                                                                                                                    |
| Return value: | The hyperbolic cosine of the transferred value.                                                                                                                                                                                               |
| Description:  | <p>Calculates the hyperbolic cosine for the value passed in radians.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | Cosh (Pi () / 2) = 2.509178                                                                                                                                                                                                                   |

## Degrees function <a href="#func_degrees" id="func_degrees"></a>

|               |                                                                                                                                                                              |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Degrees (Radians)                                                                                                                                                     |
| Parameters:   | <ul><li>Specifies the angle in radians.</li></ul>                                                                                                                            |
| Return value: | Angle in degrees.                                                                                                                                                            |
| Description:  | <p>The function converts the given angle in radians into degrees.</p><p>To convert an angle in degrees to radians, use the <a href="#func_radians">Radians</a> function.</p> |
| Example:      | Degrees (Pi()) = 180                                                                                                                                                         |

## Even function <a href="#func_even" id="func_even"></a>

|               |                                                                                                     |
| ------------- | --------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Even (NUMBER)                                                                                |
| Parameters:   | <ul><li>Value to be rounded up.</li></ul>                                                           |
| Return value: | The next even integer of the passed value.                                                          |
| Description:  | Determines the next larger or next smaller (for negative values) even integer for the passed value. |
| Example:      | <p>even (2.8) = 4</p><p>even (-2.8) = -4</p>                                                        |

## Exp function <a href="#func_exp" id="func_exp"></a>

|               |                                                                           |
| ------------- | ------------------------------------------------------------------------- |
| Syntax:       | NUMBER Exp (NUMBER)                                                       |
| Parameters:   | <ul><li>The base e exponent.</li></ul>                                    |
| Return value: | Value for the exponential function.                                       |
| Description:  | Calculates the value of the exponential function for the passed argument. |
| Example:      | Exp (3) = 20.0855369231877                                                |

## Exp10 function <a href="#func_exp10" id="func_exp10"></a>

|               |                                                 |
| ------------- | ----------------------------------------------- |
| Syntax:       | NUMBER Exp10 (NUMBER)                           |
| Parameters:   | <ul><li>The base 10 exponent.</li></ul>         |
| Return value: | Value for the exponential function.             |
| Description:  | Calculates the exponential function to base 10. |
| Example:      | Exp10 (3) = 1000                                |

## Floor function <a href="#func_floor" id="func_floor"></a>

|               |                                                                |
| ------------- | -------------------------------------------------------------- |
| Syntax:       | NUMBER Floor (NUMBER)                                          |
| Parameters:   | <ul><li>Value to be rounded down.</li></ul>                    |
| Return value: | Integer to which the passed argument was rounded down.         |
| Description:  | Rounds the transferred number to the next integer (towards 0). |
| Example:      | <p>floor (2.8) = 2</p><p>floor (-2.8) = -2</p>                 |
| See also:     | [Trunc function](#func_trunc)                                  |

## Frac function <a href="#func_frac" id="func_frac"></a>

|               |                                                                              |
| ------------- | ---------------------------------------------------------------------------- |
| Syntax:       | NUMBER Frac (NUMBER)                                                         |
| Parameters:   | <ul><li>Value for which the fractional part is to be determined.</li></ul>   |
| Return value: | Fractional part of the passed value.                                         |
| Description:  | The function determines the fractional part of the value passed as argument. |
| Example:      | Frac (PI ()) = 0.141592653589793                                             |

## Int function <a href="#func_int" id="func_int"></a>

|               |                                                                                |
| ------------- | ------------------------------------------------------------------------------ |
| Syntax:       | NUMBER Int (NUMBER)                                                            |
| Parameters:   | <ul><li>Value for which the integer part is to be determined.</li></ul>        |
| Return value: | Integer part of the passed value.                                              |
| Description:  | The function determines the integer part for the value passed as the argument. |
| Example:      | <p>Int (PI ()) = 3</p><p>Int (-Pi ()) = -3</p>                                 |

## Log function <a href="#func_log" id="func_log"></a>

|               |                                                                               |
| ------------- | ----------------------------------------------------------------------------- |
| Syntax:       | NUMBER Log (NUMBER)                                                           |
| Parameters:   | <ul><li>Value for the calculation (greater than 0).</li></ul>                 |
| Return value: | Natural logarithm of the passed number.                                       |
| Description:  | Calculates the natural logarithm (to the base e In(x)) for the passed number. |
| Example:      | Log (Exp (1)) = 1                                                             |

## Log10 function <a href="#func_log10" id="func_log10"></a>

|               |                                                                      |
| ------------- | -------------------------------------------------------------------- |
| Syntax:       | NUMBER Log10 (NUMBER)                                                |
| Parameters:   | <ul><li>Value for the calculation (greater than 0).</li></ul>        |
| Return value: | Decadic logarithm of the given number.                               |
| Description:  | Calculates the decimal logarithm (to base 10) for the passed number. |
| Example:      | Log10 (1000) = 3                                                     |

## Mod function <a href="#func_mod" id="func_mod"></a>

|               |                                                                                                                                                                                                                                                                                         |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Mod (NUMBER, divisor)                                                                                                                                                                                                                                                            |
| Parameters:   | <ul><li>Dividend</li><li>Divisor</li></ul>                                                                                                                                                                                                                                              |
| Return value: | Returns the remainder of the division.                                                                                                                                                                                                                                                  |
| Description:  | <p>The function calculates the remainder from the division of NUMBER / Divisor (Modulo Operation).</p><p>Compared to the <a href="/pages/7OsXORwFnbo2s8KcdSbr#modulo">modulo operator</a>, this function perform the calculation with floating-point numbers with double precision.</p> |
| Example:      | mod (2.1, 1.9) = 0.2                                                                                                                                                                                                                                                                    |

## NumInRange function <a href="#func_numinrange" id="func_numinrange"></a>

|               |                                                                                                                                                                                                                                      |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Syntax:       | BOOL NumInRange (NUMBER, minimum, maximum)                                                                                                                                                                                           |
| Parameters:   | <ul><li>Value to be checked.</li><li>Lower limit of the interval to be checked.</li><li>Upper limit of the interval to be checked.</li></ul>                                                                                         |
| Return value: | Returns TRUE if the first argument is within the interval. If the number is outside the limits, the function returns FALSE.                                                                                                          |
| Description:  | Tests whether the number is within the interval boundaries of the second and third arguments. The interval is complete, meaning a value that lies on one of the two limits is still within the limits and the function returns TRUE. |
| See also:     | [DateInRange function](/acron-9.3/en/intro/funktionen/funk_datum.md#func_dateinrange), [TimeInRange function](/acron-9.3/en/intro/funktionen/funk_zeit.md#func_timeinrange)                                                          |

## Odd function <a href="#func_odd" id="func_odd"></a>

|               |                                                                                                        |
| ------------- | ------------------------------------------------------------------------------------------------------ |
| Syntax:       | NUMBER Odd (NUMBER)                                                                                    |
| Parameters:   | <ul><li>Value to be rounded up.</li></ul>                                                              |
| Return value: | Next odd integer for the passed value.                                                                 |
| Description:  | Determines the next larger or next smaller (for negative values) odd integer to the transferred value. |
| Example:      | <p>odd (2.8) = 3</p><p>odd (-2.8) = -3</p>                                                             |

## Pow function <a href="#func_pow" id="func_pow"></a>

|               |                                                |
| ------------- | ---------------------------------------------- |
| Syntax:       | NUMBER Pow (NUMBER, NUMBER)                    |
| Parameters:   | <ul><li>Basis.</li><li>Exponent.</li></ul>     |
| Return value: | The result of the calculation base ^ exponent. |
| Description:  | Calculates the base ^ exponent function.       |
| Example:      | Pow (2, 3) = 8                                 |

## Quotient function <a href="#func_quotient" id="func_quotient"></a>

|               |                                                                                                    |
| ------------- | -------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Quotient (NUMBER, divisor)                                                                  |
| Parameters:   | <ul><li>Dividend</li><li>Divisor</li></ul>                                                         |
| Return value: | The integer remainder of the division.                                                             |
| Description:  | The function calculates the integer remainder for the division of the numbers passed as arguments. |
| Example:      | Quotient (10.1, 4.9) = 2                                                                           |

## Radians function <a href="#func_radians" id="func_radians"></a>

|               |                                                                                                                                                                      |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Radians (Degrees)                                                                                                                                             |
| Parameters:   | <ul><li>Angle in degrees.</li></ul>                                                                                                                                  |
| Return value: | Angle in radians.                                                                                                                                                    |
| Description:  | <p>The function converts the angle in degrees to radians.</p><p>To convert an angle in radians to degrees, use the <a href="#func_degrees">Degrees function</a>.</p> |
| Example:      | Radians (180) = 3.14159265358979                                                                                                                                     |

## Rand function <a href="#func_rand" id="func_rand"></a>

|               |                                                                                                                                                                                                                                                                                    |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Rand (\[min, max, places])                                                                                                                                                                                                                                                  |
| Parameters:   | <ul><li>Minimum value for the random value to be determined.</li><li>Maximum value for the random value to be determined.</li><li>Number of decimal places.</li></ul>                                                                                                              |
| Return value: | The function returns a new, random numeric value on every call.                                                                                                                                                                                                                    |
| Description:  | <p>The function returns a random numeric value.</p><p>The first and second parameters can be used to specify the value range within which the random number is generated.</p><p>The third parameter is used to set the number of decimal places. This can be between 0 and 10.</p> |
| Example:      | <p>Rand () = 2.14</p><p>Rand (1, 20) = 17.15</p>                                                                                                                                                                                                                                   |

## Round function <a href="#func_round" id="func_round"></a>

|               |                                                                                                                                                                                                                     |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Round (NUMBER, places)                                                                                                                                                                                       |
| Parameters:   | <ul><li>The number to be rounded.</li><li>Number of digits. If a negative value is passed, the function rounds to full decimal places.</li></ul>                                                                    |
| Return value: | The function returns the rounded number.                                                                                                                                                                            |
| Description:  | <p>The function rounds the passed value down to the number of digits specified in the second argument.</p><p>If the second parameter is negative, it is rounded to the specified number of full decimal digits.</p> |
| Example:      | <p>Round (Pi (), 3) = 3.142</p><p>Round (3570, -2) = 3600</p><p>Round (14421, -3) = 14000</p>                                                                                                                       |

## Scale function <a href="#func_scale" id="func_scale"></a>

|               |                                                                                                                                                                                                                                                                                                           |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Scale (NUMBER, M1, M2, A1, A2)                                                                                                                                                                                                                                                                     |
| Parameters:   | <ul><li>Value to be scaled.</li><li>Lower limit interval of input variable.</li><li>Upper limit interval of input variable.</li><li>Lower limit interval of output variable.</li><li>Upper limit interval of output variable.</li></ul>                                                                   |
| Return value: | The scaled value                                                                                                                                                                                                                                                                                          |
| Description:  | <p>The function scales a value. The function is used, to convert the measured value range of an external device to the physical quantity.</p><p>For example you can very easily convert the value of a sensor that supplies a current of 4 to 20 mA as an output variable to a height of 0 to 100 cm.</p> |
| Example:      | Scale (12, 4, 20, 0, 100) = 50                                                                                                                                                                                                                                                                            |

## Sign function <a href="#func_sign" id="func_sign"></a>

|               |                                                                                              |
| ------------- | -------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Sign (NUMBER)                                                                         |
| Parameters:   | <ul><li>Number whose sign is to be determined.</li></ul>                                     |
| Return value: | Returns 1 if the sign is positive, -1 if the sign is negative; and a 0 if the argument is 0. |
| Description:  | Returns the status of the sign for the number passed as an argument.                         |
| Example:      | <p>Sign (19) = 1</p><p>Sign (-19) = -1</p><p>Sign (0) = 0</p>                                |

## Sin function <a href="#func_sin" id="func_sin"></a>

|               |                                                                                                                                                                                                                                  |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Sin (NUMBER)                                                                                                                                                                                                              |
| Parameters:   | <ul><li>Angle in radians for which the calculation is performed.</li></ul>                                                                                                                                                       |
| Return value: | The sine of the passed value.                                                                                                                                                                                                    |
| Description:  | <p>Calculates the sine for the value passed in radians.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | Sin (Pi () / 2) = 1                                                                                                                                                                                                              |

## Sinh function <a href="#func_sinh" id="func_sinh"></a>

|               |                                                                                                                                                                                                                                             |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Sinh (NUMBER)                                                                                                                                                                                                                        |
| Parameters:   | <ul><li>Angle in radians for which the calculation is performed.</li></ul>                                                                                                                                                                  |
| Return value: | The hyperbolic sine of the passed value.                                                                                                                                                                                                    |
| Description:  | <p>Calculates the hyperbolic sine for the value passed in radians.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | Sinh (Pi () / 2) = 2.30129890230729                                                                                                                                                                                                         |

## Sqrt function <a href="#func_sqrt" id="func_sqrt"></a>

|               |                                                                             |
| ------------- | --------------------------------------------------------------------------- |
| Syntax:       | NUMBER Sqrt (NUMBER)                                                        |
| Parameters:   | <ul><li>The value for which the square root should be calculated.</li></ul> |
| Return value: | Square root of the passed number.                                           |
| Description:  | The function calculates the square root of the passed number.               |
| Example:      | Sqrt (4) = 2                                                                |

## Tan function <a href="#func_tan" id="func_tan"></a>

|               |                                                                                                                                                                                                                                     |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Tan (NUMBER)                                                                                                                                                                                                                 |
| Parameters:   | <ul><li>Angle in radians for which the calculation is performed.</li></ul>                                                                                                                                                          |
| Return value: | The tangent of the passed value.                                                                                                                                                                                                    |
| Description:  | <p>Calculates the tangent for the value passed in radians.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | Tan (Pi () / 4) = 1                                                                                                                                                                                                                 |

## Tanh function <a href="#func_tanh" id="func_tanh"></a>

|               |                                                                                                                                                                                                                                                |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax:       | NUMBER Tanh (NUMBER)                                                                                                                                                                                                                           |
| Parameters:   | <ul><li>Angle in radians for which the calculation is performed.</li></ul>                                                                                                                                                                     |
| Return value: | The hyperbolic tangent of the passed value.                                                                                                                                                                                                    |
| Description:  | <p>Calculates the hyperbolic tangent for the value passed in radians.</p><p>The conversion between radians and angular degrees can be done with the <a href="#func_degrees">Degrees</a> and <a href="#func_radians">Radians</a> functions.</p> |
| Example:      | Tanh (Pi () / 2) = 0.9171523356672                                                                                                                                                                                                             |

## Trunc function <a href="#func_trunc" id="func_trunc"></a>

|               |                                                                |
| ------------- | -------------------------------------------------------------- |
| Syntax:       | NUMBER Trunc (NUMBER)                                          |
| Parameters:   | <ul><li>Value to be rounded down.</li></ul>                    |
| Return value: | Integer number to which the passed argument was rounded down.  |
| Description:  | Rounds the transferred number to the next integer (towards 0). |
| Example:      | <p>Trunc (2.8) = 2</p><p>Trunc (-2.8) = -2</p>                 |
| See also:     | [Floor function](#func_floor)                                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.videc.de/acron-9.3/en/intro/funktionen/funk_mathe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
