Skip to content

@technobuddha > library > Math > Operations

Type Alias: RoundOptions

ts
type RoundOptions = {
  precision?: number;
};

Defined in: round.ts:9

Options for the round function

Properties

PropertyTypeDescriptionDefined in
precision?numberThe number of decimal places to consider when applying the ceiling. Defaults to 0.src/round.ts:11