Log

This function evaluates to the base10 logarithm of the given number.

Description

The base10 logarithm of a number.

Type

NUMERIC

Arguments

Type

Meaning

1

NUMERIC

the value

2

NUMERIC

the units in which to compute the logarithm

Evaluation

Converts the value into the desired units, and then computes the base 10 logarithm of this value. The solution is this number in the units of the converted value.

Comments

The base10 logarithm may only be evaluated for values greater than zero. This function aborts the run with an error, if it is evaluated with a value less than or equal to zero.

The two arguments must have compatible units, otherwise the run is aborted with an error.

Note that this function does not use the scalar portion of the units argument.

 
Log(100.0 "cfs", 0.0 "cms")
 
0.45204489 "cms"