Home
Random
Log in
Settings
Donations
About Wikibooks
Disclaimers
Search
C++ Programming/Code/Standard C Library/Functions/labs
Language
Watch
Edit
<
C++ Programming
|
Code/Standard C Library
|
Functions
labs
edit
Syntax
#include
<cstdlib>
long
labs
(
long
num
);
The function labs() returns the absolute value of
num
.
Related topics
abs
-
fabs