Promotic

LogN - method of the Pm object

Description:
Returns logarithm of a number.
Syntax:
Double LogN(Double nValue, Long 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:
This method is functional also in Macro expression $.expr and in the onDraw event of the PmgCanvas object.
This method is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var nVal = Pm.LogN(100, 10);   // Returns 2

History:
Pm8.02.01: Created
PROMOTIC 9.0.18 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.