Promotic

Log - function of language VBScript

Description:
Returns the natural logarithm of a number.
In the PROMOTIC system it is better to use the Pm.LogN method.
Syntax:
Double Log(Double number)
Parameters:
number(Double) Number greater than 0
Note:
The natural logarithm is the logarithm to the base e. The constant e is approximately 2.718282.
You can calculate base-n logarithms for any number x by dividing the natural logarithm of x by the natural logarithm of n as follows:
Logn = Log(x)/Log(n)
Example:
VBScriptSelect and copy to clipboard

Dim nLog10
nLog10 = Log(x) / Log(10)
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.