Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter SevenMath Functions (continued)

RadiansToDegrees Function

Overview

The RadiansToDegrees function converts a value from radians to degrees.

Syntax/Parameters

Syntax

float = RadiansToDegrees ( float x );

Parameters

x

A float containing a numeric source value. If x is not a float, the data will be converted to a 64-bit floating-point number.

Return Value

Returns a float containing the converted value.

Remarks

This function essentially performs the following mathematical operation: (x * (180 / π)), or

r1 *= 57.295779513082320876798154814105;

The function does not take into account values out of range.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic