square_root

This function calculates the square root of a number.

square_root ( input_number )

The result of this function is of type NUMBER.

The function has one parameter:

  1. input_number, type NUMBER. The number whose square root will be calculated.

Example

NUMBER result (* Declaration of result variable *)
NUMBER input_number := 9 (* Initializing the input number *)
ASSIGN result := square_root( input_number )
#
The square root of @(input_number) is @(result).
#

Result: The square root of 9.00 is 3.00.