abs function

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

  • float abs(float x)

Returns

The absolute value of floating point number x.

Description

The abs function calculates the absolute value of x.

Related


In this topic