A calculator costs $d. A school buys 90 calculators, and gets a $100 discount for bulk purchasing. How much did the school spend?​