Hello everyone ,
We are extracting the amount so its represented in this format
Example:
Current format : 9.560.357,08
Expected value is :9,560,357.08
How can we convert it into the expected format
Thanks in advance!!!
Hello everyone ,
We are extracting the amount so its represented in this format
Example:
Current format : 9.560.357,08
Expected value is :9,560,357.08
How can we convert it into the expected format
Thanks in advance!!!
HI,
How about the following expression?
Double.Parse(strValue,System.Globalization.NumberStyles.Any,System.Globalization.CultureInfo.CreateSpecificCulture("es-ES")).ToString("N2")
Regards,
It’s standard format specifier. Please see the following document in details.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.