sqrt
sqrt(): Real;
The sqrt method of the Real primitive type returns the square root of the receiver.
The following example shows the use of the sqrt method.
vars realValue : Real; begin realValue := 340.5; // Defines the variable value write realValue.sqrt; // Outputs 18.4526420872459 end;
An exception is raised if the receiver is invalid.