We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f39a46b commit 5086cceCopy full SHA for 5086cce
src/api/index.md
@@ -1898,6 +1898,7 @@ type: api
1898
1899
- **Arguments:**
1900
- `{String} [symbol] - default: '$'`
1901
+ - `{Number} [decimal places] - default: 2`
1902
1903
- **Example:**
1904
@@ -1915,6 +1916,14 @@ type: api
1915
1916
1917
*12345 => £12,345.00*
1918
1919
+ Some currencies have 3 or 4 decimal places, while some others have none, for example Japanese Yen (¥) or Vietnamese Dong (₫):
1920
+
1921
+ ``` html
1922
+ {{ amount | currency '₫' 0 }}
1923
+ ```
1924
1925
+ *12345 => ₫12,345*
1926
1927
### pluralize
1928
1929
0 commit comments