Usage

Syntax: sin(float r);
Returns the sine of an angle.

Explanation

In a right triangle, the sine of an angle is the length of the opposite side divided by the length of the hypotenuse.
Note that the angle is in radians, not degrees.

Example

function onCreated()
{
  temp.foo = sin(pi / 2);
}

... sets temp.foo to 1.0.

Categories

CategoryFunctionClientside
CategoryFunctionServerside
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
⚡ WEB1 (144.76.42.176) — Testing Environment ⚡