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

ftan

Find the tangent of a value

Description#

Float:ftan( Float:value )

Find the tangent of the given value.

The return value is in radians.

Parameters#

value input value

Return value#

Returns the tangent in radians of value.

Example usage#

   new Float:x;
 
   x = ftan( PI/4 );    // 1

Last updated Nov 18, 2019