Skip to content
ezeioDocs
  1. Reference
  2. Script reference
  3. Math and control

fsin

Find the sine of a value

Description#

Float:fsin( Float:value )

Find the sine of the given value.

The value is assumed to be in radians.

Parameters#

value input value (angle in radians)

Return value#

Returns the sine of value.

Example usage#

   new Float:x;
 
   x = fsin( PI/4 );    // 0.70710...

Last updated Nov 18, 2019