public interface Numberer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(int number,
java.lang.String picture,
int groupSize,
java.lang.String groupSeparator,
java.lang.String letterValue)
Format a number into a string
|
java.lang.String format(int number, java.lang.String picture, int groupSize, java.lang.String groupSeparator, java.lang.String letterValue)
number
- The number to be formattedpicture
- The format specification. This is a single component of the format attribute
of xsl:number, e.g. "1", "01", "i", or "a"groupSize
- number of digits per group (0 implies no grouping)groupSeparator
- string to appear between groups of digitsletterValue
- as defined in xsl:number ("alphabetic" or "traditional" or "")