Takes the common logarithm of a value.

Syntax

Result = SRP_Math("LOG10", Value, "", DecimalPlaces, ScientificNotation)

Returns

The common logarithm of Value.

Remarks

The LOG10 operation computes the common logarithm (base 10) of Value. Value must be a positive non-zero number, else the following error is returned.

"ERROR: Value must be > 0."

Example

// Take the common log of PI 
Val = "3.1415926535897932384626433832795" 
Result = SRP_Math("LOG10", Val) 
!! Result = 0.497149872694133854351268288290898 !! 
// Attempting to take the common log of 0 results in an error 
Result = SRP_Math("LOG10", 0) 
!! Result = "ERROR: Value must be > 0." !!
  • No labels