ABS Function

ABS(a)

Returns the absolute value of a.

Parameters

a(REAL or DINT)

The input value.

Return Value

The absolute value of a. The data type will be the same as the a input parameter.

Examples

ABS(3) returns 3

ABS(-3.0) returns 3.0

 

See Also

Standard Functions


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion