Danish locale for D3.js, modelled after da_DK glibc locale
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json
test.js

README.md

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