public final class DoubleToDecimal extends Object
double as a string.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_CHARS |
| Modifier and Type | Method and Description |
|---|---|
static Appendable |
appendTo(double v,
Appendable app)
Appends the rendering of the
v to app. |
static String |
toString(double v)
Returns a string representation of the
double
argument. |
public static final int MAX_CHARS
public static String toString(double v)
double
argument. All characters mentioned below are ASCII characters.v - the double to be converted.Double.toString(double)public static Appendable appendTo(double v, Appendable app) throws IOException
v to app.
The outcome is the same as if v were first
rendered and the resulting string were then
appended to app.
v - the double whose rendering is appended.app - the Appendable to append to.IOException - If an I/O error occursCopyright © 2008–2023 FasterXML. All rights reserved.