String to floating point conversion with support for both decimal point and decimal comma
<p>How do I convert a string to a floating point number if I want both comma interpreted as decimal comma and point interpreted as decimal point?</p>

<p>The code parses text files that have been created by our customers. They sometimes use decimal points and sometimes decimal commas but never thousand separators.</p>
