Progress
Report Builder
User’s Guide
LOG
Calculates the logarithm of an expression using a specified base.
SYNTAX
expression
A numeric expression (a constant, field name, or expression whose value is numeric) of which you want the logarithm.
base
A numeric expression that is the base you want to use. If you do not specify a base, LOG returns the natural logarithm, base (e). The base must be greater than 1. If applied to a negative number or zero, LOG produces an UNKNOWN value.
EXAMPLETo determine the natural log of 7.3891, create the field LOG(7.3891), which returns a value of 2.0000. To determine the log base 10 of 8 times 12, create the field LOG(8 * 12, 10), which returns a value of 1.98227.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |