Skip to content

Rounding should go up right? #707

@RomainGoncalves

Description

@RomainGoncalves

Hey guys,

I'm trying something super simple here:

Money.from_amount(1019.125)
=> #<Money fractional:101912 currency:USD>

However, I would like the result to be 101913 as it should round up. How can I do that?

Thanks for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions