reads a bit nicer I think:

``` ruby
def localized_amount(money, currency)
  amount = amount(money)
  return amount unless non_fractional_currency?(currency)

  if self.money_format == :cents
    (amount.to_f/100).floor.to_s
  else
    amount.split('.').first
  end
end
```