JavaScript Editor js editor     Web development 



Main Page

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

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

See Also



JavaScript Editor js editor     Web development