SQR()

SQR(V)

RETURNS THE SQUARE ROOT OF V

  • Type: Function
  • Parameter: 1
  • Group: Mathematics

ACTION

The function SQR(V) returns the square root of V.

V can be a real or integer number and must be positive.

SYNTAX: Result=SQR(V)

  • V = real or integer value.

USE

  • The function SQR() is used to calculate a square root.

ERROR

  • If V is negative.
  • If V is not a correct expression.

EXAMPLE

print sqr(2)

print "Result = 1.4142135623731"

SEE ALSO

-