1<?php
2echo(abs(6.7) . "<br>");
3echo(abs(-6.7) . "<br>");
4echo(abs(-3) . "<br>");
5echo(abs(3));
6?>
1if($number > 0){
2 echo "the number is positive";
3}
4elseif($number < 0){
5 echo "the number is negative";
6}
7else{
8 echo "the number is zero";
9}