I have a table software and columns in it as dev_cost, sell_cost. If dev_cost is 16000 and sell_cost is 7500
software
dev_cost
sell_cost
This query will round result to next integer
select round(dev_cost ::decimal / sell_cost + 0.5)