Admin Production ni-theme
Current Publication

abs

LabWindows/CVI

abs

int abs (int inputValue);

Purpose

Computes the absolute value of the specified integer input value. If the result cannot be represented, the behavior is undefined.

Parameters

Input
Name Type Description
inputValue int Contains the integer value from which the absolute value is computed.

Return Value

Name Type Description
result int Contains the returned absolute value of the argument to the function. If the result cannot be represented, the behavior is undefined.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later