correct float type