LOG10

Syntax

LOG10(X)

Description

Returns the base-10 logarithm of X.

Examples

SELECT LOG10(2); +-------------------+ | LOG10(2) | +-------------------+ | 0.301029995663981 | +-------------------+  SELECT LOG10(100); +------------+ | LOG10(100) | +------------+ | 2 | +------------+  SELECT LOG10(-100); +-------------+ | LOG10(-100) | +-------------+ | NULL | +-------------+

This page is licensed: GPLv2, originally from fill_help_tables.sql

Last updated

Was this helpful?