paulodiniz / xe

Realtime currency conversion for Elixir
22 stars 2 forks source link

Change the return from string to float #2

Closed paulodiniz closed 8 years ago

paulodiniz commented 8 years ago

This

iex(1)> Xe.fetch({'USD', 'EUR'})
{:ok, ["1.00", "0.891482"]}

Should be this

iex(1)> Xe.fetch({'USD', 'EUR'})
{:ok, [1.00, 0.891482]}
paulodiniz commented 8 years ago

Done on commit https://github.com/paulodiniz/xe/commit/a807b2222d7aa567c1a04f0a9f21f13eddc50d8f