CAPL Script

Log10

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

double _log10(double x)

Function

Calculates the logarithm to base 10.

Parameters

Value of which the logarithm shall be calculated.

Return Values

Logarithm of x (to base 10).

double x;x = _log10(100.0); // x == 2.0