Skip to content

How to use in the view? #74

@viktorsmari

Description

@viktorsmari

When using this gem, what is the recommended way to render a number with formatting in the view?

Can we add an example in the README.md?

Would it be something like:

<%= number_to_currency(123456, locale: @user.currency) %>

Or do you need the Money gem methods to do it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions