Floor and Ceiling Function
- Sean Melvein A. Vecina
- Jan 7, 2023
- 1 min read

Floor Function - A function that takes an input as a real number and gives an output that is the greatest integer less than or equal to the number. It is denoted by the following symbols: [x], ⌊x⌋, floor(x) and [[x]]
Examples: ⌊1.9⌋ = 1 and ⌊2.6⌋ = 2
Ceiling Function - A function that takes an input as a real number and gives an output that is the least integer greater than or equal to the resulting number. It is denoted by the following symbols: ⌈x⌉, ]x[, and ]]x[[
Examples: ⌈8.1⌉ = 9 and ⌈1.1⌉ = 2
Comments