Hello
@sivagelli,
it's a text data item.Thank you.
Cami
If it is a data item, you can only achieve this using Code stage.
Add a code stage with -
- Input:
- Output:
- Code Tab
-
C#:
outNum = string.Format(System.Globalization.CultureInfo.GetCultureInfo("de"),"{0:0,000.000}",double.Parse(inNum));
The number format changes from US to other countries. Number 1243.45 in US is represented as 1243,45 in Germany, Italy and other countries. Here for conversion, i changed the number format to Germany. CultureInfo.GetCultureInfo("de") is for Germany. Thousands are separated by dot and decimal are with comma. Swedan uses space.
On execution, outNum will have the number of required format.
3456.89 will be converted to 3.456,89.
Post back how it goes!