Globalize Currency Negative Value Error

I’ve got the Globalize-1.1 release installed and have been using the
globalize plugin for a month or so now. My base locale is en-US, Ruby
1.8.4 (2005-12-24), Rails 1.1.2. Here’s the problem taken from

Loading development environment."-340")
=> #<Globalize::Currency:0x2337478 @cents=-340>"-340").to_s
=> “-4.60”“340”).to_s
=> “3.40”"-340").to_s
=> “-4.60”

=> …"-340").format
=> “-$4.60”“340”).format
=> “$3.40”

Any insights and/or patches would be greatly appreciated.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs