up previous next
Returns the cosine of a given value with a given accuracy.
Fn.CosN(Val:RAT,Acc:INT):RAT
|
This function returns the cosine of
Val rounded to the given
accuracy
Acc.
- @param Val Value of which to compute the cosine.
- @param Acc The desired accuracy.
- @return The cosine of Val rounded to the given accuracy Acc.
R := Fn.CosN(1, 30);
Dec(R, 40);
0.540302305868139717400936607443
-------------------------------
|