Created
August 27, 2018 10:53
-
-
Save almokhtarbr/db58c894285dcf0a373318ae8668d134 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filters : { | |
currency(value){ | |
var formatter = Intl.NumberFormat('en-US', | |
{ | |
style:'currency', | |
currency:'USD', | |
minimumFractionDigits : 0 | |
}); | |
return formatter.format(value); | |
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos | |
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment