public final class FloatToDecimal extends Object
float as a string.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_CHARS |
| Modifier and Type | Method and Description |
|---|---|
static Appendable |
appendTo(float v,
Appendable app)
Appends the rendering of the
v to app. |
static String |
toString(float v)
Returns a string representation of the
float
argument. |
public static final int MAX_CHARS
public static String toString(float v)
float
argument. All characters mentioned below are ASCII characters.v - the float to be converted.Float.toString(float)public static Appendable appendTo(float 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 float whose rendering is appended.app - the Appendable to append to.IOException - If an I/O error occursCopyright © 2008–2023 FasterXML. All rights reserved.