VBA Log Function: The Log function in VBA returns the natural logarithm for the specified number.

Syntax

Parameter

Number (required) –This parameter represents a positive numeric value that you want to find the natural logarithm of.

Return

This function returns the natural logarithm for the specified number.

Example 1

Output

0

VBA Log Function

Example 2

Output

6.80239476332431

VBA Log Function

Example 3

Output

-0.116533816

VBA Log Function

Example 4

Output

VBA Log Function

Pin It on Pinterest

Share This