Lg
Returns the base-2 logarithm of a number.
Format
Lg ( number )
Parameters
number
- any numeric expression or field containing a numeric expression
Data type returned
number
Originated in version
7.0
Description
Number
can be any positive value. Negative values return an error. For 0, the Lg function returns nothing because this value is out of the acceptable range.
Example 1
Lg(1)
= 0
Lg(2)
= 1
Lg(32)
= 5