Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter SevenMath Functions (continued)

DegreesToRadians Function

Overview

The DegreesToRadians function converts a value from degrees to radians.

Syntax/Parameters

Syntax

float = DegreesToRadians ( 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

x *= 0.01745329251994329576923690768489;

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