PHP abs() Function is used to get absolute (positive) value of numbers. A abs() function is built-in function in PHP.
Syntax :
abs(int $number);
Parameter,
$number: Required. It is a number.
Return Values :
It returns positive number.
Let's see below example to understand php abs() Function in details.
Comments