In PHP, the sqrt() function returns the square root of a(n) ______.

  • Integer
  • Array
  • String
  • Number
In PHP, the sqrt() function returns the square root of a number. The number can be of any numeric type, including integers and floating-point numbers. The sqrt() function is useful when you need to calculate the square root of a number in mathematical calculations. It returns a float representing the square root. Learn more: https://www.php.net/manual/en/function.sqrt.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *