public class XBDoubleFormat
extends java.lang.Object
| Constructor and Description |
|---|
XBDoubleFormat()
XBDoubleFormat constructor applying default options.
|
XBDoubleFormat(int totalDigits,
int fractionDigits,
int fractionMinDigits,
int integerMaxDigits,
int integerMinDigits,
char expSymbol,
int expMinValue,
int expMaxValue,
int expDigits,
boolean signPresent,
boolean pointPresent,
boolean expPresent,
boolean expSignPresent)
XBDoubleFormat constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(double value)
Returns a valid XML Schema lexical representation of the given double
value.
|
java.lang.String |
format(float value)
Returns a valid XML Schema lexical representation of the given float
value.
|
public XBDoubleFormat()
public XBDoubleFormat(int totalDigits,
int fractionDigits,
int fractionMinDigits,
int integerMaxDigits,
int integerMinDigits,
char expSymbol,
int expMinValue,
int expMaxValue,
int expDigits,
boolean signPresent,
boolean pointPresent,
boolean expPresent,
boolean expSignPresent)
public java.lang.String format(double value)
value - public java.lang.String format(float value)
value -