Returns the logarithm of a number.

 

Syntax:

value = Log( number [, base] )

 

Parameter:

Description:

number

Any expression, or statement.

[base]

The base of the logarithm, if omitted function will return the natural logarithm (assumes base e)

 

Example:

value = Log( 1 )       ' Returns 0
value = Log( 16, 2 )   ' Returns 4
value = Log( 100, 10 ) ' Returns 2

Returns:

Number's log value

 

Links:

Exponent

See Also:

Mathematical Functions

 


Edit Time: 9/18/2020 12:21:50 PM


Topic ID#: 28

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software