Created
November 20, 2014 17:10
-
-
Save dreampulse/d4c47d896c88385830f8 to your computer and use it in GitHub Desktop.
German currency format for JavaScript using numeral.js
This file contains hidden or 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
| var numeral = require('numeral'); | |
| var numeralDE = require('numeral/languages/de'); | |
| numeralDE.delimiters.thousands = '.'; | |
| numeral.language('de', numeralDE); | |
| numeral.language('de'); | |
| numeral(1024).format('0,0.00'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment