floatatan

Syntax

/**
 * Returns the angle of the given tangent
 *
 * @note For available units of measurements(modes) look at the anglemode enum
 *
 * @param value         The tangent to calculate the angle from
 * @param mode          What unit of measurement should the output angle be in
 *
 * @return              The angle of a tangent
 */
native Float:floatatan(Float:angle, {anglemode,_}:radix);

Description

Return the angle of a sine, cosine or tangent.
The output angle may be in radians, degrees, or grades.