coingaming/money-elixir

to_money

Closed this issue · 1 comments

timCF commented

https://github.com/heathmont/money-elixir/blob/1382ae38a224d38cc59bc7a1e51b262fc659d2f6/lib/money.ex#L160

It's nice to have one polymorphic function to_money. Different clauses of this function should handle different types: strings, integers, floats

jurta commented

Refactored in fb83cfe