public class DefaultUnitFormat extends Object
| Constructor and Description |
|---|
DefaultUnitFormat(String format) |
DefaultUnitFormat(String mainUnitName,
boolean leadingZeros,
boolean intermediateZeros,
boolean fixedLength,
int high,
int low,
boolean decimal) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.text.NText |
format(double value) |
net.thevpc.nuts.text.NText |
formatDouble(double value) |
String |
toPattern() |
public DefaultUnitFormat(String mainUnitName, boolean leadingZeros, boolean intermediateZeros, boolean fixedLength, int high, int low, boolean decimal)
public DefaultUnitFormat(String format)
public String toPattern()
public net.thevpc.nuts.text.NText formatDouble(double value)
public net.thevpc.nuts.text.NText format(double value)
Copyright © 2025 vpc open source initiative. All rights reserved.