Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

feat(currency): Add optional rounding #8391

Closed
wants to merge 1 commit into from

Conversation

wesleycho
Copy link
Contributor

Add optional ability to specify custom amount to round currency using filter

This is useful in particular for rounding to a whole number, i.e. {{amount | currency: '$': -2}} will round $1234.5678 to $1,200.

Add optional ability to specify custom amount to round currency using
filter

Remove decimal for negative rounding values

Add documentation
@wesleycho wesleycho changed the title <feat>(currency): Add optional rounding feat(currency): Add optional rounding Jul 29, 2014
@wesleycho
Copy link
Contributor Author

I just noticed #8363 . This project is always one step ahead of me! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant