Skip to main content
Returns the logarithm of a number to a specified base Category: math Syntax:
Returns: Float Context Filtering: ✓ Yes

Parameters

Allowed Column Types for number: INT, FLOAT, DECIMAL Allowed Column Types for base: INT, FLOAT, DECIMAL

Validation

  • Minimum parameters: 2
  • Maximum parameters: 2

Examples

Logarithm of 100 to base 10 Result: 2
Logarithm of each value to base 2
Last modified on March 13, 2026