add precision to float type