abs function

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