Adjust from double to float