@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
10 lines • 406 B
TypeScript
export interface FormatAmountType {
input: string;
decimals?: number;
digits?: number;
showIsLessThanDecimalsLabel?: boolean;
showLastNonZeroDecimal?: boolean;
addCommas?: boolean;
}
export declare function formatAmount({ input, decimals, digits, showLastNonZeroDecimal, showIsLessThanDecimalsLabel, addCommas }: FormatAmountType): string;
//# sourceMappingURL=formatAmount.d.ts.map