Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bitmap
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"utils/format-price": {
"name": "utils/format-price",
"scope": "bitdev.git-sync-demo",
"version": "0.0.2",
"version": "89227d196122fbfdabac92b14d4d3e762b5b41a3",
"mainFile": "index.ts",
"rootDir": "components/utils/format-price"
},
Expand Down
2 changes: 1 addition & 1 deletion components/utils/format-price/format-price.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Formats an amount of money for display.
* Formats an amount of money for display. Rejects NaN and infinities.
* Example: formatPrice(1999.5) returns "$1,999.50".
* The currency and the locale are optional. The default is US dollars in
* the en-US locale.
Expand Down