# LOG10()

### LOG10()

Syntax

`      LOG10( <nNumber> ) -> nLogarithm`

Arguments

<nNumber> number to logarithm

Returns

Description

The function LOG10() calculates the decadic logarithm of <nNumber>, i.e. 10ˆ<nLogarithm> == <nNumber>.

Examples

```      ? log10( 10.0 )         // --> 1.0
? log10( sqrt( 10.0 ) ) // --> 0.5```

Tests

```      log10( 10.0 )         == 1.0
log10( sqrt( 10.0 ) ) == 0.5```

Compliance

LOG10() is compatible with CT3’s LOG10().

Platforms

All

Files

Source is math.c, library is libct.

# CT_LOG10

``` LOG10()
Computes the common logarithm
------------------------------------------------------------------------------
Syntax

LOG10(<nValue>) --> nLog10

Argument

<nValue>  Designates a number for which the base 10 logarithm is
determined.

Returns

LOG10() returns the base 10 logarithm for the <nValue> number.

Description

LOG10() determines the common logarithm for a number.

Note

.  For non-mathematicians, look at it this way:  to what power
must 10 be raised (10n) so that <nValue> results?

Example

Display common logarithm values:

? LOG10(0.01)            // -2.00
? LOG10(2)               //  0.30
? LOG10(100)             //  2.00
? LOG10(INFINITY())      //  308.25```

# Tools — Mathematical Functions

```Introduction Mathematical Functions
ACOS()    Computes the cosine arc
ASIN()    Computes the sine arc
ATAN()    Computes the tangent arc
ATN2()    Computes the angle size from the sine and cosine
CEILING() Rounds up to the next integer
COS()     Computes the cosine
COT()     Computes the cotangent
DTOR()    Converts from a degree to radian measure
FACT()    Computes the factorial
FLOOR()   Rounds down to the next integer
FV()      Computes future value of capital
GETPREC() Determines the level of precision that is set
LOG10()   Computes the common logarithm
PAYMENT() Computes the periodic payment amount
PERIODS() Computes number of payment periods necessary to repay a loan
PI()      Returns pi with the highest degree of accuracy
PV()      Computes the cash present value after interest charges
RATE()    Computes the interest rate for a loan
RTOD()    Converts from a radian to degree measure
SETPREC() Sets the precision level for trigonometric functions
SIGN()    Determines the mathematical sign of a number
SIN()     Computes the sine of a radian value
TAN()     Computes the tangent of a radian value```