gUEqe‖Log Function

Contents
2AZCM‖

# GutGe‖Log Function (BASIC)

g9AWW‖Returns the natural logarithm of a number.

### FVEx2‖Syntax:

    Vweyx‖Log (Number)

### bBBqF‖Return type:

Double

### WADQ4‖Parameters:

DTVPg‖ Number: Any numeric expression that you want to calculate the natural logarithm for.

XGZnf‖The natural logarithm is the logarithm to the base e. Base e is a constant with an approximate value of 2.718282...

Tjkcm‖You can calculate logarithms to any base (n) for any number (x) by dividing the natural logarithm of x by the natural logarithm of n, as follows:

43ZUC‖Logn(x) = Log(x) / Log(n)

### SEjHR‖Error codes:

5 Invalid procedure call

### EFSA4‖Example:

    Sub ExampleLogExp
    Dim a As Double
    Dim Const b1=12.345e12
    Dim Const b2=1.345e34
        a=Exp( Log(b1)+Log(b2) )
    xxFeW‖    MsgBox "" & a & chr(13) & (b1*b2) ,0,"Multiplication by logarithm function"
    End Sub

Please support us!