Table of Contents
Previous Section Next Section

abs

#include <stdlib.h>int abs(int num);

The abs( ) function returns the absolute value of num.

A related function is fabs( ).


Table of Contents
Previous Section Next Section