Number.Ln

This function calculates the natural logarithm of a given number. If the number is null, the function will also return null.

Syntax

Number.Ln(number as nullable number) as nullable number

About

This function calculates the natural logarithm of a given number. If the number is null, the function will also return null.

Explanation

Calculate the natural logarithm of 15 by using the Power Query MNumber.Ln(15) function. The output will be 2.70805020110221.