k-converter

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i k-converter

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

2.93 kB

Total Files

3

Last publish

Collaborators

  • exappdev