Hey,

I think you're just looking for a simple database of known currency
labels.  I don't know of anything off the top of my head, but if you
check out Bloomberg's currency conversion system:

http://www.bloomberg.com/markets/currencies/

You can view source and probably rip out the currency labels from the
select lists.

To re-iterate Robert's point above, if it's the conversion you're
looking to do, I'd really recommend looking at a subscription-based
web service that your application can "talk to" in order to perform
the conversions, because global currency exchange rates fluctuate
every day, sometimes multiple times per day. It would be a NIGHTMARE
keeping up with that yourself, so a third party to do the conversions
for you would be a real life-saver!  Unfortunately I can't make any
specific recommendations for that kind of service, but I'm sure there
are plenty of companies out there who you could work with.

I hope this helps you out.  Good luck!

On Feb 22, 2:15 pm, Robert Walker <[email protected]> wrote:
> Ants Pants wrote in post #983192:
>
> > The formatting of the amounts will be ###,###.## (it doesn't have to be
> > locale specific). I also wanted to have a breakdown of the different
> > currencies that go towards making the total ....
>
> >    55.00 GBP
> >  175.00 USD
> > 3000.00 CAN
> > --------------------
> > 3230.00
>
> How does this total make any sense? The number 3230.00 is a meaningless
> value without the currency unit and exchange rate.
>
> > I have looked around for currencies in easily downloadable format
> > (JSON/YAML/XML) but haven't found any good resources. Does anyone know
> > of
> > something?
>
> Downloadable format for what? Do you mean currency exchange rates?
> Wouldn't you need to know that? If someone were to pledge 55.00 GBP, do
> you plan on converting that into a common local currency at the time of
> the pledge? Or, do you plan on converting that pledge to a local
> currency at the time the final donation is processed, based on the
> exchange rate at that time?
>
> What I'm saying is that not only does it not make sense to sum the
> pledges, without first converting them to a common unit, but the
> conversion factor between the units changes over time.
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to