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 and in the onDraw event of the PmiCanvas graphic item.

Example:
Dim nLogN
nLogN = Pm.LogN(100,10) ' Returns 2
PROMOTIC 8.3.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
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