public class DoubleFormat extends Object
Constructor and Description |
---|
DoubleFormat() |
Modifier and Type | Method and Description |
---|---|
static String |
decimal(double d) |
static String |
decimalOrNan(double d) |
static String |
decimalOrWhole(double d) |
public static String decimalOrNan(double d)
d
- Number to format.public static String decimalOrWhole(double d)
d
- Number to format.public static String decimal(double d)
d
- Number to format.Copyright © 2018. All rights reserved.