public final class DoubleFormat extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
decimal(double d) |
static String |
decimalOrNan(double d) |
static String |
decimalOrWhole(double d)
Deprecated.
since 1.0.11 in favour of
wholeOrDecimal(double) |
static String |
wholeOrDecimal(double d) |
public static String decimalOrNan(double d)
d - Number to format.@Deprecated public static String decimalOrWhole(double d)
wholeOrDecimal(double)d - Number to format.public static String decimal(double d)
d - Number to format.public static String wholeOrDecimal(double d)
d - Number to format.Copyright © 2020 LeanCloud. All rights reserved.