PHP abs()


abs() returns the absolute value of a number.

<?PHP
	echo abs(4); //4
	echo abs(-4); //4
	echo abs(-3.3); //3.3
?>