Mega Code Archive

 
Categories / Php / Math
 

Calling the Built-in abs() Function

<html> <head><title>Calling the Built-in abs() function</title></head> <body> <div> <?php     $num = -321;     $newnum = abs( $num );     print $newnum; ?> </div> </body> </html>