> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionLog10

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/Other/Functions/CAPLfunctionLog10.md)

[CAPL Functions](../../CAPLfunctions.md) » [General](../CAPLGeneralStartPage.md) » [Function Overview](../CAPLfunctionsGeneralOverview.md) » \_Log10

# \_Log10

[Valid for](../../../Shared/FeatureAvailability.md):  CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

## Function Syntax

```plaintext theme={null}
double _log10(double x);
```

## Description

Calculates the logarithm to base 10.

## Parameters

Value of which the logarithm shall be calculated.

## Return Values

Logarithm of x (to base 10).

## Example

```plaintext theme={null}
double x;
x = _log10(100.0); // x == 2.0
```
