k-converter
v1.0.3
Published
Thousand to k Converter is a lightweight npm package designed to simplify the conversion of large numbers to k-metric notation. With this package, you can effortlessly convert numerical values from the thousands to the k-metric system, providing clarity a
Downloads
2
Maintainers
Readme
k-convert
Install
npm i k-converter
Usage
const kconvert = require("k-converter");
//or
import kconvert from 'k-converter';
And with this capability, you're able to seamlessly translate float numbers into the K-metric, enhancing clarity and precision.
kconvert.convertTo(100500);
//'10.5k'
Additionally, it empowers you to effortlessly convert strings using the K-metric into float numbers, streamlining data interpretation and analysis.
kconvert.convertFrom("50.2k");
//50200