Runtime components : Core components : Typed data : Reference : Default implementation : Number (including byte, short, integer, bigInteger, long, double, float, and bigDecimal)
  
Number (including byte, short, integer, bigInteger, long, double, float, and bigDecimal)
The Number type extends BasicType, and is used for input and output of numeric data.
Attributes
Descriptor
ImplClass: com.ibm.btt.base.types.impl.SimplePropertyDescriptor
Converter
ImplClass: com.ibm.btt.base.types.impl.NumberConverter
numberType (fixed list of choices)
Is an enumerated value with one of the following types: byte, short, integer, bigInteger, long, double, float or bigDecimal. The default value is bigDecimal.
decimalPlaces (int, mandatory if numberType is not a scalar type)
Is the length of the decimal part of the number. For example, 4 represent there are 4 number after the decimal point.
pattern (String)
Is used to format the number. If no value is specified, the default behavior is to use the locale specific formatting. This pattern follow the syntax described in website http://www.unicode.org/reports/tr35/#Number_Format_Patterns, for example: #.00.
Literal characters in patterns are not supported.
If patten and decimalPlaces are both specified, pattern overrides the setting of decimalPlaces.
Validator
ImplClass: com.ibm.btt.base.types.impl.NumberValidator
minimumNumber (same type specified in numberType)
Is the lower limit for valid data of this type.
maximumNumber (same type specified in numberType)
Is the upper limit for valid data of this type.
Go up to
Default implementation