Atan Procedure
Returns the arc tangent of the number, in radians.
Warning: The input number is internally converted to a less precise
64-bit binary floating-point format.
The result is computed in this format and then converted back to TMBASIC's
128-bit decimal floating-point format.
These conversions may cause a loss of precision.
Declaration
function Atan(x as Number) as Number
Parameters
Return value
Number — Arc tangent of
x.
Example
Code
Output
0.2449786631268641434733268624768242