I need to change the format of variable, depending on CurrentCulture
Variable is a Decimal
This is my current change statement :
string auxst = String.Format(CultureInfo.CurrentCulture, "#,##0.00", variable);
I need to know what to put in the second parameter so that this happens:
Variable = 150.465,1242345
If CurrentCulture is "es ES"(spain) -> auxst = "150.465,1242345"
If CUrrentCulture is "en EN" -> auxst = "150,465.1242345"
Thx for the help