Number.Log10

Updated on

Number.Log10 is a Power Query M function that calculates the base 10 logarithm of a given number. The function returns the base 10 logarithm value or null if the input number is null.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365

Syntax

Number.Log10( number as nullable number ) as nullable number

Description

Returns the base 10 logarithm of a number, number. If number is null Number.Log10 returns null.

Examples

Get the base 10 logarithm of 2.

// Output: 0.3010299956639812
Number.Log10( 2 )

Other functions related to Number.Log10 are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/number-log10