title: Show currencies with different numbers of decimal places
body: <p>I have a Wordpress site that uses woocommerce and woocommerce currency switcher plugins. The site displays prices in Thai Baht in Thailand and USD everywhere else. I want the shopping cart to show Thai Baht with 0 decimal places and USD with 2 decimal places. If I set woocommerce to display 2 decimal places for all currencies, is there some function I could add that would strip the '.00' from every displayed instance of '.00฿'?</p>
  
  <p>Here's what I have so far...</p>
  
  <pre><code>function strip_zeros($baht) {
  foreach($baht as $i) {
  $baht= strtr($baht, ".00฿", "฿");
  }
  return $baht;
  }
  add_filter('the_content','strip_zeros');
  </code></pre>