![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Number functions > Lg function |
|
|
| Lg function |
| Format |
Lg(number) |
| Parameter |
| number - any numeric expression or field containing a numeric expression |
| Data type returned |
| number |
| Description |
| Returns the base 2 logarithm of number, which can be any positive value. Negative values return an error. For 0, the Lg function returns nothing because these values are out of the acceptable range. |
| Examples |
| Lg(1) = 0 |
| Lg(2) = 1 |
| Lg(32) = 5 |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Number functions > Lg function | Next Page |