RoundOptions
RoundOptions =
object& {fractionDigits?:number;significantDigits?:never; } | {fractionDigits?:never;significantDigits:number; }
Defined in: packages/core/src/number/round.ts:8
How much precision to keep, expressed one way or the other — never both, as they disagree about what the digits are counted from.
Type Declaration
Section titled “Type Declaration”roundingMethod?
Section titled “roundingMethod?”
optionalroundingMethod?:RoundingMethod
Rounding method to use.