@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
8 lines • 334 B
TypeScript
import { BigNumber } from "bignumber.js";
import type { Unit } from "@ledgerhq/types-cryptoassets";
/**
* This will format in a very concise way a valid, typically to be used on axis.
* For instance 15k 20k ,...
*/
export declare function formatShort(unit: Unit, value: BigNumber): string;
//# sourceMappingURL=formatShort.d.ts.map