floor ( numeric ) → numericNearest integer less than or equal to argument
floor(42.8) → 42
floor(-42.8) → -43
Functions / Mathematical Functions And Operators
Nearest integer less than or equal to argument
Reading PG 18current·documented in 27 of 27 versions, 7.1 to 20
floor ( numeric ) → numericNearest integer less than or equal to argument
floor(42.8) → 42
floor(-42.8) → -43
floor ( double precision ) → double precisionNearest integer less than or equal to argument
floor(42.8) → 42
floor(-42.8) → -43
Definition snapshot: b7bd9cda · English manual source