marksweston / finance

A library for financial calculations in Ruby

Home Page:https://rubygems.org/gems/finance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question About Number Formats

akayvanfar opened this issue · comments

Does the XIRR calculation handle both Float and Decimal number formats or is it necessary to feed in one vs the other?

Thanks!

You can feed float, but the response will be Decimal

sounds like it's better to just always use Decimal then, correct?