Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/ynap/extensions/float.rb
Instance Method Summary collapse
Instance Method Details
#to_ynab ⇒ Object
2 3 4 |
# File 'lib/ynap/extensions/float.rb', line 2 def to_ynab (BigDecimal(self.to_s) * 1000).to_i end |