Browse Source

CurrencyPipe

master
HarveyMac 2 years ago
parent
commit
93245b6bc7
  1. 4
      src/app/app.component.html

4
src/app/app.component.html

@ -1 +1,3 @@
<div>百分率:{{ pi | percent: '2.2-4' }}</div>
<div>金額:{{ 25000 | currency }}</div>
<div>CAD 貨幣碼:{{ 25000 | currency: "CAD" }}</div>
<div>貨幣指示格式:{{ 25000 | currency: "EUR":"symbol" }}</div>
Loading…
Cancel
Save