Skip to content

Api > Mathf > Tan()


Mathf.Tan(number f)⚓︎

Returns the tangent of angle f in radians.

Parameters:⚓︎

Name Type Description
f number Value

Returns:⚓︎

type Description
number the tangent of angle f in radians.

Usage⚓︎

---@type number
local f;


local val0 = Mathf:Tan(f)