up previous next
Fn.LogN

Returns the logarithm to a given base with a given accuracy.
Syntax
          
Fn.LogN(Base:RAT,Val:RAT,Acc:INT):RAT

          

Description
This function returns the logarithm of Val to the base Base rounded to the given accuracy Acc.

Example
R := Fn.LogN(3,27, 30);
Dec(R, 40);

3
-------------------------------



Example
R := Fn.LogN(2,10, 30);
Dec(R, 40);

3.321928094887362347870319429489
-------------------------------



See Also