PHP abs May 3, 2012 Pramod T P It returns absolute value Example <?php echo $abs = abs(-1.7); ?> Output 1.7