Trey rented a truck for one day. There was a base fee of $20.99, and there was an additional charge of .96 cents for each mile driven. Trey has to pay $245.63 when he returned the truck. For how many miles did he drive the truck?