square

This function calculates the square of a number.

square ( input_number )

The result of this function is of type NUMBER.

The function has one parameter:

  1. input_number, type NUMBER. The number to be squared.

Example

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

Result: The square of 3.00 is 9.00.