PHP abs function December 2, 2021 by Codingtube team Syntax of abs function int abs(int number)float abs(float number) Returns the absolute value of number in the same type (float or integer) as the argument Example of abs function