📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

FLOOR



Rounds the number down.

Syntax

FLOOR( <x> )

Examples

SELECT FLOOR(1.23); ┌─────────────┐ │ floor(1.23) │ ├─────────────┤ │ 1 │ └─────────────┘

Was this page helpful?