currency-format-tool
货币格式化
Last updated 2 years ago by wangcancan .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install currency-format-tool 
SYNC missed versions from official npm registry.

currency-format-tool

=========

A small library that format currency 货币格式化

Installation

npm install currency-format-tool

Usage

var currencyFormatter = require('currency-format-tool');

var formattedCurrency = currencyFormatter(12345);

Output should be $12,345

Tests

npm test

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 6
Dependencies (0)
None
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |