react-thousand-separator
v1.0.1
Published
Thousand separator, usable in JavaScript projects.
Downloads
14
Maintainers
Keywords
Readme
react-thousand-separator
A very practical and light package ( 900 Byte ) to separate thousands of numbers :)
Usage / Examples :
import ThousandSeparator from 'react-thousand-separator'
const App = () => {
return <p>{ThousandSeparator(900000)}</p>; // 900,000
}
export default App;
Installation :
Install with npm :
npm i react-thousand-separator
Documentation :
Can be used in :
JavaScript, ECMAScript , React , Next & ..