Skip to content

Instantly share code, notes, and snippets.

@dreampulse
Created November 20, 2014 17:10
Show Gist options
  • Save dreampulse/d4c47d896c88385830f8 to your computer and use it in GitHub Desktop.
Save dreampulse/d4c47d896c88385830f8 to your computer and use it in GitHub Desktop.
German currency format for JavaScript using numeral.js
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