formatNumber
Creates a string with the input numeric value formatted with a specific pattern.
Information noteNote: This feature is only available in
Talend Cloud Pipeline Designer and
Talend Data Mapper.
Arguments
- Numeric value.
- String pattern. The pattern should follow the Java DecimalFormat pattern. For more information, see theOracle documentation.
Examples
Expression | Result |
---|---|
formatNumber(12332.123456, "EUR,###.-") | "EUR 12,332.-" |