up previous next
Returns the square root of a give value with a given accuracy.
Fn.SqrtN(Val:RAT,Acc:INT):RAT
|
This function returns the square root of
Val rounded to the
given accuracy
Acc.
- @param Val The value of which to take the square root.
- @param Acc The desired accuracy.
- @return Returns the square root of Val rounded to the given accuracy Acc.
R := Fn.SqrtN(2, 30);
Dec(R, 40);
1.41421356237309504880168872421
-------------------------------
|