Log10 (open)

Returns the logarithm of a value, using base 10.

Syntax

LOADLIB "wh::float.whlib";

FLOAT FUNCTION Log10(FLOAT value)

Parameters

FLOAT value

The FLOAT value from which to determine the base-10 logarithm. It must be larger than zero.

Return value

FLOAT

The base-10 logarithm of @italic value

Description

This function calculates the logarithm of value. The base for this calculation is @italic 10.

Examples

// The FLOAT value will be 3.0
FLOAT f := Log10(1000.0);