public class DefaultNumberFormat extends Object implements DoubleFormat
| Constructor and Description |
|---|
DefaultNumberFormat(String format) |
DefaultNumberFormat(String unitCode,
String format) |
DefaultNumberFormat(String unitCode,
String decimalFormat,
int high,
int low) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(double value) |
String |
formatDouble(double value) |
int |
getHigh() |
int |
getLow() |
String |
getUnitCode() |
String |
toPattern() |
public DefaultNumberFormat(String unitCode, String decimalFormat, int high, int low)
public DefaultNumberFormat(String format)
public String toPattern()
public int getHigh()
public int getLow()
public String formatDouble(double value)
formatDouble in interface DoubleFormatpublic String getUnitCode()
public String format(double value)
Copyright © 2021 vpc open source initiative. All rights reserved.