I have a problem with the sqrt()
PHP function, the result is returned to me as follows.
Example:
<?php
$num = 3;
$val = 6;
$result = sqrt($num + $val);
var_dump($result); //RETORNARIA float(3);
?>
This way it returns the result:
Now the question is, how could or is it possible to make it only show the number and not float() ?
You are using the var_dump function that shows you the properties of the var_dump variable
You can use echo $result;
Greetings.