math:log10( $x as xs:double ) as xs:double
Returns the base-10 logarithm of x.
math:log10(1000)) => 3