Loading TOC...

MarkLogic 9 Product Documentation
math:log10

math:log10(
   $x as xs:double
) as xs:double

Summary

Returns the base-10 logarithm of x.

Parameters
x The floating point number to be evaluated.

Example

  math:log10(1000)) 

  => 3

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.