How to make doubles always contain a . character?
<p>I noticed my doubles contain different precision characters depending on regional settings. </p>

<p>For example:</p>

<p><code>3,47</code> or <code>3.45</code></p>

<p>How can I enforce the double should always contain a <code>.</code> precision character?</p>

<p>Problem is once I serialize the class containing this double to XML, it gets shipped to other systems expecting a standard result. </p>

<p>So after reading your responses (and thanks), do you guys recommend changing the property to a string, (making the replacements in a string), so that it serializes with the string value (not the double)?</p>
