title: Replacing commas with dot and dot with commas
body: <p>I am trying to replace all dots for comma and commas for dots and was wondering what is the best practice for doing this.  If I do it sequentially, then the steps will overwrite each other.  </p>
  
  <p>For example:
  1,234.56 (after replacing commas) --> 1.234.56 (after replacing dots) --> 1,234,56</p>
  
  <p>Which is obviously not what I want.</p>
  
  <p>One option I guess is splitting on the characters and joining afterwards using the opposite character.  Is there an easier/better way to do this?</p>