# \[PATCH\] to Globalize::Currency

**URL:** <https://www.ruby-forum.com/t/patch-to-globalize-currency/64051>\
**Category:** Rails I18n\
**Created:** [June 21, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/patch-to-globalize-currency/64051 "2006-06-21T17:15:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 21, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/patch-to-globalize-currency/64051/1 "2006-06-21T17:15:51Z")

</div>

Hi there,

this a small patch fixing Globalize::Currency::parse, to not only parse  
US  
like currency strings. It uses now the Locale.active settings.  
hadn’t time to run any tests, so status is: ‘it works for me’ 🙂

Greetings,  
Roland  
[i’m not subscribed to this list, so please cc me]

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [July 1, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/patch-to-globalize-currency/64051/2 "2006-07-01T15:54:05Z")

</div>

unknown wrote:

> Hi there,
> 
> this a small patch fixing Globalize::Currency::parse, to not only parse  
> US  
> like currency strings. It uses now the Locale.active settings.  
> hadn’t time to run any tests, so status is: ‘it works for me’ 🙂
> 
> Greetings,  
> Roland  
> [i’m not subscribed to this list, so please cc me]

where is your patch Roland ?

kadoudal at [wanadoo.fr](http://wanadoo.fr)

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [July 3, 2006, 1:31pm UTC](https://www.ruby-forum.com/t/patch-to-globalize-currency/64051/3 "2006-07-03T13:31:01Z")

</div>

Hi Kad,

i posted via email to the list, the patch didn’t make it through i  
think.  
Here is an url:  
[http://web02.rv-net.de/currency.diff](http://web02.rv-net.de/currency.diff)

it fixes a secound bug now: parsing a string like ‘1.9’ gave you 1.09$,  
but should be 1.90$.

Greetings,  
Roland

Kad K. wrote:

> unknown wrote:
> 
> > Hi there,
> > 
> > this a small patch fixing Globalize::Currency::parse, to not only parse  
> > US  
> > like currency strings. It uses now the Locale.active settings.  
> > hadn’t time to run any tests, so status is: ‘it works for me’ 🙂
> > 
> > Greetings,  
> > Roland  
> > [i’m not subscribed to this list, so please cc me]
> 
> where is your patch Roland ?
> 
> kadoudal at [wanadoo.fr](http://wanadoo.fr)
