NaN is converted to "NaN". Positive and negative zero are converted to "0". Positive infinity is converted to "Infinity". Negative infinity is converted to "-Infinity". Integers are represented without decimal points and with no leading zeros. Negative integers are preceded by the minus sign (-). All other numbers are represented as strings with a decimal point, and at least one digit before and at least one after that decimal point. No leading zeros except, when appropriate, one before the decimal point. After the decimal point, only as many digits as needed to distinguish the number from other IEEE 754 numeric values.