Acos Procedure

Returns the arc cosine 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 Acos(x as Number) as Number

Parameters

Return value

Number — Arc cosine of x.

Example

Code
print Trunc(Acos(0.25) * 1000)
Output
1318