You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dist/Functional/FormatNumbers.js
-11Lines changed: 0 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,3 @@
1
-
/*
2
-
* Number formating using Intl.NumberFormat.
3
-
* Requirements:
4
-
* Element with custom attribute fn-formatnumber="true"
5
-
* A Style in the same element to format choosing between "Currency", "decimal", "percent", "unit"
6
-
* In case of the element being "Currency" or "Unit" the sent "fn-formatnumber-currency" or "fn-formatnumber-unit" option
7
-
* Optional: set locales for the formatting
8
-
* list of units can be found here for now: https://tc39.es/proposal-unified-intl-numberformat/section6/locales-currencies-tz_proposed_out.html#sec-issanctionedsimpleunitidentifier
0 commit comments