Closed ryanza closed 11 years ago
Hi!
Nice to hear, hope it is useful!
I added instantiation of floats in scientific notation / rationals.
New release is 1.1.1, be sure to install it :)
Awesome! Bumping our version now on all our apps. (Yes we have a few) :+1:
Heya!
We're using your gem extensively through our application; what we do is store all our monetary values as micro cents then convert back later. The issue is that some of our values come back as Rationals which doesn't get parsed by the following line:
https://github.com/beatrichartz/exchange/blob/master/lib/exchange/iso.rb#L192
When the value is nil it breaks there too, which probably makes sense to include some type of sanity check before just trying to regex major and minor precision. :)