Improves handling of non-float floats