Avoid locale issues when parsing or printing non-integers