Home Data Platform Cloud Reference Redpanda SQL Reference Functions Math log10 Cloud Page options Copy as Markdown Copied! View as plain text Ask AI about this topic Add MCP server to VS Code log10 The log10() function returns the base-10 logarithm of a given number. It is equivalent to calling log() with a single argument. Syntax LOG10(x) Arguments x: A positive number of type real or double precision. Return type Same as the input type (real or double precision). Examples Basic usage SELECT LOG10(1000); log10 ------- 3 (1 row) Fractional result SELECT LOG10(2); log10 -------------------- 0.3010299956639812 (1 row) Back to top Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback 🎉 Thanks for your feedback! log pi