Skip to content

Format integers and floats to a format similar to the one in use by YouTube for subscriber counts.

License

Notifications You must be signed in to change notification settings

L4852/number-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

number-formatter

Format integers and floats to a format similar to the one in use by YouTube for subscriber counts.

Example:

O: 25.9K

INPUT: 4579
O: 4.6K

INPUT: 2348929
O: 2.3M

INPUT: 2348972393
O: 2.3B

About

Format integers and floats to a format similar to the one in use by YouTube for subscriber counts.

Topics

Resources

License

Stars

Watchers

Forks

Languages