Hi
I need to convert double to string with two decimal digits separated with 'dot' My concern is that dot must be always used as separator.
Hi
I need to convert double to string with two decimal digits separated with 'dot' My concern is that dot must be always used as separator.
The simplest way is to specify CultureInfo.InvariantCulture
as the culture, e.g.
string text = d.ToString("N2", CultureInfo.InvariantCulture);