Fixed (maybe) DecimalFormatException on some platforms