WRAP_VALUE()

WRAP_VALUE(A)

RETURNS A VALUE THAT WRAPS THE ANGLE A BETWEEN 0 AND 360

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

ACTION

The function WRAP_VALUE(A) returns a value that wraps the angle A between 0 and 360.

SYNTAX: Result=WRAP_VALUE(A)

  • A = real or integer value.

USE

  • The function WRAP_VALUE() is used to wrap an angle between 0 and 360.

ERROR

  • If V is not a correct expression.

EXAMPLE

print wrap_value(370.5)

print "Result = 10.5"

SEE ALSO

-