Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SevenMath Functions (continued)

Sine Function

Overview

The Sine (sin) function returns the sine of an angle specified in radians, degrees or gradians.

Syntax/Parameters

Syntax

float = Sine ( float angle );

Parameters

angle

A float containing an angle. If x is not a float, the data will be converted to a 64-bit floating-point number. The default angle unit is in radians but can be changed to other values by using the SetAngleMode function.

Return Value

Returns a float containing the sine of angle.

Remarks

The illustration below shows the result of Sine is y for the angle or θ.

(Courtesy Webysther)

Related Functions

Platform Support

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

Legato IDE, Legato Basic