Skip to content

Sin - Built-in Arithmetic Function

Purpose

Sin returns the sine of an angle.

Syntax

Sin(num)

Arguments

Argument Required Description
num Yes Any numeric expression. Represents the angle in radians.

Returns

Number

Example

Return Sin(0.5235988) // returns 0,50 (when the field has a 2 decimal format)

Notes

  • When num cannot be converted to a number, a runtime error is generated.
  • To convert degrees to radians, multiply degrees by pi/180.