$log10

Determines which exponent of base 10 yields a given value.

Syntax

$log10(number)

Parameters

number

a positive number or an expression that evaluates to a positive number

Return Value

Number, with the same number of decimal places as number.

Example

let var1=$log10(100)

The above expression means "the exponent of base 10 that yields the value 100" and evaluates to 2.

 

Related Topics