2.0.0 • Published 8 years ago

d3-locale-da-dk v2.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

d3-locale-da-dk

Danish locale for D3.js, modelled after da_DK glibc locale

Installation

npm install d3-locale-da-dk

Usage

You need d3 installed and pass this module to d3.locale:

var d3 = require('d3')
var da_DK = d3.locale(require('d3-locale-da-dk'))

da_DK.formatNumber('$,.2f')(12345.678) // => '12.345,67 kr'

License

ISC