Skip to content

FormatOptions

type FormatOptions = BigNumber.Format & {
decimalPlaces: number;
roundingMode: BigNumber.RoundingMode;
};

Defined in: packages/iso-filecoin/src/types.ts:404

Type declaration

decimalPlaces?

optional decimalPlaces: number;

Default

18

See

https://mikemcl.github.io/bignumber.js/#decimal-places

roundingMode?

optional roundingMode: BigNumber.RoundingMode;

Default

BigNumber.ROUND_HALF_DOWN

See

https://mikemcl.github.io/bignumber.js/#constructor-properties