Promotic
WikipediaLinkedInYoutubeTwitterFacebook

LogN - method of object Pm

Description:
Returns logarithm of a number.
Syntax:
LogN(nValue As Double, nBase As Long) As Double
Calling:
n = Pm.LogN(nValue, nBase)
Parameters:
nValue(Double) number greater than 0.
nBase(Long) logarithm base
0 - natural logarithm (i.e. the base is e)
2 - the binary logarithm (i.e. the base is 2)
10 - decadic logarithm (i.e. the base is 10)
Note:
The method can also be called in the graphic item events for Web Panels.

The method is functional also in Macro expression $.expr.

Example:
Dim nLogN
nLogN = Pm.LogN(100,10) ' Returns 2
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- LN2
- LogN
 
 
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice