Compartir a través de


LOG10( ) Function

Returns the common logarithm (base 10) of the specified numeric expression.

LOG10(nExpression)

Parameters

  • nExpression
    Specifies the numeric expression for which LOG10( ) returns the value of x in the equation 10^x = nExpression. nExpression must be greater than 0.

Return Value

Numeric

Remarks

The base for the common logarithm is 10. The number of decimal places returned in the result is specified with SET DECIMALS.

Example

CLEAR
? LOG10(10)  && Displays 1.00
STORE 100 TO gnBaseTen
? LOG10(gnBaseTen)  && Displays 2.00
? LOG10(gnBaseTen^2)  && Displays 4.00

See Also

Reference

EXP( ) Function

LOG( ) Function

SET DECIMALS Command

Other Resources

Functions