Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Log - function of language VBScript

Description:
Returns the natural logarithm of a number.

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.LogN.

Syntax:
Log(number As Double) As Double
Calling:
n = Log(number)
Parameters:
number(Double) any valid numeric expression 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:
nLog10 = Log(X)/Log(10)
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice