Format Currency After Rounding

Use when displaying money to a user or in an export. Rounds to the currency's display scale first, then formats with the right symbol, separators, sign and locale — never formats before rounding.

jiayaoqijia Updated 81 repo stars

File contents

jiayaoqijia/cryptoskill commit 567fda4256

Frequently asked questions

npx get-skill add jiayaoqijia/format-currency-after-rounding