Change inter to float