Calculating the cost of flooring