This question was asked in Finite and Infinite sets
What is greatest integer function domain and range 

Nehaarika .s's image