kmb
Formats numbers into compact K/M/B notation.
Usage
import { Beaut } from "@0xhq/beaut";
const formatted = Beaut.kmb(1500000);
Output: "1.50M"Types
Parameters
import { KmbParameters } from "@0xhq/beaut";Return Type
import { KmbReturnType } from "@0xhq/beaut";