Returns a string representation of the double
argument. All characters mentioned below are ASCII characters.
NaN".
-'
( '\u002D'); if the sign is positive, no sign character
appears in the result. As for the magnitude m:
"Infinity"; thus, positive infinity produces the result
"Infinity" and negative infinity produces the result
"-Infinity".
"0.0"; thus, negative zero produces the result
"-0.0" and positive zero produces the result
"0.0".
.' ( '\u002E'), followed by one or
more decimal digits representing the fractional part of m.
.'
( '\u002E'), followed by decimal digits
representing the fractional part of a, followed by the
letter ' E' ( '\u0045'), followed
by a representation of n as a decimal integer, as
produced by the method Integer.toString(int).
double. That is, suppose that
x is the exact mathematical value represented by the decimal
representation produced by this method for a finite nonzero argument
d. Then d must be the double value nearest
to x; or if two double values are equally close
to x, then d must be one of them and the least
significant bit of the significand of d must be 0.
To create localized string representations of a floating-point
value, use subclasses of java.text.NumberFormat.
d | the double to be converted. |
Diagram: Number