react-number-converter
v1.0.6
Published
react-number-converter to millions, Billions, Trillion
Downloads
2
Readme
React Number Converter
react-number-converter npm package is used to convert numbers to K, millions, Billions, Trillion
Authors
Installation
To install react number converter npm package
npm i react-number-converter
Usage/Examples
import React from 'react'
import { Number } from 'react-number-converter';
const App = () => {
return (
<Number value={324423}/> // Result - 324K
)
}
export default App
API Reference
Sidebar Api Reference
language can be change by following code
English - <Number value={324344} lang='en'/> // 324K
Hindi - <Number value={324344} lang='hi'/> // 3.2 लाख
Spanish - <Number value={324344} lang='es'/> // 324 mil
Find Language code here - - @language Codes
Contributing
Contributions are always welcome!
Please adhere to this project's code of conduct
.