change api price to float