public class GxExpressionNumbersFormatter
extends GxExpressionAbstract
The class defines a grid expression to format numbers according to BBj supported masks
Modifier and Type | Field and Description |
---|---|
BBjString | DecimalSeparator! The number's decimal separator to use. by default the bbj decimal separator will be used |
BBjString | GroupSeparator! The number's group separator to use. by default the bbj group separator will be used |
BBjString | Mask! The Number mask to use. |
BBjString | Prefix! A prefix to append to the value after it is formatted |
BBjString | Suffix! A suffix to append to the value after it is formatted |
Constructor and Description |
---|
GxExpressionNumbersFormatter(BBjString mask!) Construct a new GxExpressionNumbersFormatter |
GxExpressionNumbersFormatter(BBjString mask!, BBjString groupSeparator!) Construct a new GxExpressionNumbersFormatter |
GxExpressionNumbersFormatter(BBjString mask!, BBjString groupSeparator!, BBjString decimalSeparator!) Construct a new GxExpressionNumbersFormatter |
Modifier and Type | Method and Description |
---|---|
String | toString() {@inheritDoc} |
public BBjString DecimalSeparator!
The number's decimal separator to use. by default the bbj decimal separator will be used
public BBjString GroupSeparator!
The number's group separator to use. by default the bbj group separator will be used
public BBjString Mask!
The Number mask to use.
public BBjString Prefix!
A prefix to append to the value after it is formatted
public BBjString Suffix!
A suffix to append to the value after it is formatted
public GxExpressionNumbersFormatter(BBjString mask!)
Construct a new GxExpressionNumbersFormatter
BBjString
mask! The number's maskpublic GxExpressionNumbersFormatter(BBjString mask!, BBjString groupSeparator!)
Construct a new GxExpressionNumbersFormatter
BBjString
mask! The number's maskBBjString
groupSeparator! The number's group separator to usepublic GxExpressionNumbersFormatter(BBjString mask!, BBjString groupSeparator!, BBjString decimalSeparator!)
Construct a new GxExpressionNumbersFormatter
BBjString
mask! The number's maskBBjString
groupSeparator! The number's group separator to useBBjString
decimalSeparator! The number's decimal separator to use