Returns the base-2 logarithm of a number.
Lg(number)
number
- any numeric expression or field containing a numeric expression
number
FileMaker Pro 7.0
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.
Lg(1)
= 0
Lg(2)
= 1
Lg(32)
= 5