Charlie rented a truck for one day. There was a base fee of $17.99 , and there was an additional charge of 81 cents for each mile driven. Charlie had to pay $213.20 when he returned the truck. For how many miles did he drive the truck?