Converts selected number columns to string columns formatted according to a specified locale (e.g. country). The locale provides conventions such as the characters used to separate thousands groups, the currency symbol, and the character used to specify the decimal.
In addition to the conventions provided by the locale, a 'format pattern' is specified and allows for fine control of the format (for example, the number of decimal places to show, whether to use scientific notation, whether to display a currency symbol, etc.) You can select one of the predefined format patterns or specify a custom pattern. The specification of the pattern is defined by the DecimalFormat Java class.
From http://tutorials.jenkov.com/java-internationalization/decimalformat.html#number-format-pattern-syntax
You can use the following characters in a custom formatting pattern:
0%%00009A digit - always displayed, even if number has less digits (then 0 is displayed)
#%%00009A digit, leading zeroes are omitted.
.%%00009Marks decimal separator
,%%00009Marks grouping separator (e.g. thousand separator)
E%%00009Separates mantissa and exponent for exponential formats.
;%%00009Separates positive and negative subpatterns
-%%00009Marks the negative number prefix
%%%00009Multiplies by 100 and shows number as percentage
‰%%00009Multiplies by 1000 and shows number as per mille
¤%%00009Currency sign - replaced by the currency sign for the Locale. Also makes formatting use the monetary decimal separator instead of normal decimal separator. ¤¤ makes formatting use international monetary symbols.
X%%00009Marks a character to be used in number prefix or suffix
'%%00009Marks a quote around special characters in prefix or suffix of formatted number.
Official Java documentation: https://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html
Locales are accurate as of Java 1.8.0_252
Disclaimer: This component is believed to operate correctly, but the developer offers no warranty and bears no responsibility for consequences resulting from its use.
To use this component in KNIME, download it from the below URL and open it in KNIME:
Download ComponentDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.