Admin Production ni-theme
Current Publication

fabs

LabWindows/CVI

fabs

double fabs (double inputValue);

Purpose

Computes the absolute value of a double.

Parameters

Input
Name Type Description
inputValue double Contains the value from which the absolute value is taken.

Return Value

Name Type Description
result double Contains the returned absolute value of inputValue.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Examples

Refer to the following examples that use the fabs function:

  • userint\ColorRamps.cws

    Open example
  • userint\gridview.cws

    Open example