Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2023 Intertech Services AG
Yandex DataLens
  • Pricing policy
    • Optimization best practices
    • DataLens errors
    • Backups
  1. Calculated fields
  2. Function reference
  3. Mathematical functions
  4. LOG10

LOG10

Written by
Yandex Cloud
,
improved by
amatol

SyntaxSyntax

LOG10( number )

DescriptionDescription

Returns the logarithm of the number number to base 10. Returns NULL if the number is less than or equal to 0.

Argument types:

  • number — Fractional number | Integer

Return type: Fractional number

ExamplesExamples

LOG10(1) = 0.0
LOG10(1000) = 3.0
LOG10(100) = 2.0

Data source supportData source support

ClickHouse 21.8, Microsoft SQL Server 2017 (14.0), MySQL 5.7, Oracle Database 12c (12.1), PostgreSQL 9.3, YDB.

Was the article helpful?

Yandex project
© 2023 Intertech Services AG