LOG10
(Function)
Obtains a common logarithm.
LOG10 (<Expression>)
This statement obtains the common logarithm of the value designated in <Expression>. The base of the common logarithm is 10.
Designate a value larger than 0 for <Numeric value>.
If <Expression> includes a double precision real numeral, the obtained value becomes double precision. Otherwise, a single precision value is obtained.
DEFSNG lf1, lf2, lf3, lf4
|
|
lf1 = LOG10(2)
|
'Assigns the common logarithm of 2 to lf1.
|
lf2 = LOG10(lf3/lf4)
|
'Assigns the common logarithm of (lf3/lf4) to lf2.
|