# File lib/money/money/parsing.rb, line 172 def from_bigdecimal(value, currency = Money.default_currency) currency = Money::Currency.wrap(currency) amount = value * currency.subunit_to_unit new(amount.fix, currency) end