The main difference between flooring and ceiling function is ceiling function returns the largest nearest integer whereas the floor function gives the smallest nearest integer for the mentioned value.