UNPKG

@taquito/utils

Version:

converts michelson data and types into convenient JS/TS objects

5 lines (4 loc) 235 B
import BigNumber from 'bignumber.js'; type Format = 'tz' | 'mtz' | 'mutez'; export declare function format(from: Format | undefined, to: Format | undefined, amount: number | string | BigNumber): string | number | BigNumber; export {};