You can either send a floating-point number or an integer to abs( )
<? abs(50.1); // 50.1 abs(-12.5); // 12.5 ?>