Numeric format


#1

Hi all,

how can I change the format of a number (Double) from 0.35 to 0,35 because my application use the German format.

Can I Use varXXX.ToString(???)


#2

Hi,

yes you can convert it to string and replace the . with ,
varXXX.ToString.Replace(".", “,”)

BR,
Topi


#3

Hi,

I believe what your are looking for is:

doubleVar.toString(New System.Globalization.CultureInfo("de-DE"))

Cheers


#4

Does the Format Value Activity not help? You can change the separator to “.” or “,” accordingly.


#5

Format Value Activity doesn’t work.

doubleVar.toString(New System.Globalization.CultureInfo(“de-DE”)) solves my Problem.

Thank’s very much.