Skip to content

Returns the base-10 logarithm of x. If x is less than or equal to 0.0E0, the function returns NULL.

func.log10( <x> )
func.log10(100)
┌─────────────────┐
│ func.log10(100) │
├─────────────────┤
│ 2 │
└─────────────────┘
LOG10( <x> )
SELECT LOG10(100);
┌────────────┐
│ log10(100) │
├────────────┤
│ 2 │
└────────────┘