The sqrt function

Description

The sqrt function returns the square root of the value of the parameter passed to it. The type of the value returned by this function is always real.

Parameter

The sqrt function's only parameter is a numeric expression (i.e. an expression of integral type or of real type).

Example

   sqrt(1)   returns  1.0
   sqrt(9)   returns  3.0
   sqrt(25)  returns  5.0

Portability

Operating Systems: All
Standard Pascal: Yes