https://en.wikipedia.org/wiki/Floor_and_ceiling_functions
it's 1 not 0
(Had to check the TeX code to figure that out, MathJax let you do that with a right click on the equation.)