@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
13 lines • 489 B
TypeScript
export interface DenominateType {
input: string;
denomination?: number;
decimals?: number;
showIsLessThanDecimalsLabel?: boolean;
showLastNonZeroDecimal?: boolean;
addCommas?: boolean;
}
/**
* !!! This function is deprecated. Please use formatAmount instead.
* */
export declare function denominate({ input, denomination, decimals, showLastNonZeroDecimal, showIsLessThanDecimalsLabel, addCommas }: DenominateType): string;
//# sourceMappingURL=denominate.d.ts.map