Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add commas to a number

License

NotificationsYou must be signed in to change notification settings

cappslock/add-commas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add commas to a number

Credit

Core logic adapted fromthis thread on Stack Overflow

Usage

var addCommas = require('add-commas');// yesaddCommas(12345);   // 12,345addCommas('12345'); // 12,345// noaddCommas();        // throws ErroraddCommas(123.45)   // throws ErroraddCommas('dogs')   // throws Error

License

Go nuts.

About

Add commas to a number

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp