twitter/twitter-cldr-rb — pull request #69 by tanin47 (2012-08-22 06:41:53+00:00)
Title: Configurable decimal points for currencies

I have found that when I did ```@formatter.format(50.0, :currency => "SGD")```, it returns ```$50.0```.

Please note that it only happens, when the fraction is 0.

I've decided that I should make it configurable, since different currencies require different decimal points.

According to this, http://www.xencraft.com/resources/multi-currency.html#precision, the default should be 2 decimal points. But some currencies require 3 decimal points. Japanese currency requires 0 decimal point.