company logo

Value :: log10 - Calculate logarithm on base-10

The function returns the base-10 logarithm value for the value.

Return value:  Value ( odaba::Value & )

Value of any type.

Implementation details

odaba::Value Value  :: log10 (  )

The function converts the value into a double float point value. When conversion fails, the function throws an exception. Otherwise, the function calculates the logarithm on base-10.