Php sqrt
From w3cyberlearnings
Contents |
PHP function sqrt
This function returns a square root of a give number.
Syntax sqrt
X is a number.
sqrt(X)
Example 1
<?php echo sqrt(4); // 2x2 echo "<br/>"; echo sqrt(25); // 5x5 ?>
Output
2 5