abs(Function) |
Top Previous Next |
This function will calculate the absolute value of a DINT.
Input: V : DINT Value to convert.
Returns: DINT The absolute value of V.
Declaration: FUNCTION abs : DINT;
Example: INCLUDE rtcu.inc |