Skip to content

@technobuddha > library > Math > Operations

Type Alias: CeilOptions

ts
type CeilOptions = {
  precision?: number;
  tolerance?: number;
};

Defined in: ceil.ts:9

Options for the ceil function

Properties

PropertyTypeDescriptionDefined in
precision?numberThe number of decimal places to consider when applying the ceiling. Defaults to 0.src/ceil.ts:13
tolerance?numberA small value to subtract from the input before applying the ceiling, useful for floating-point tolerance. Defaults to 0.src/ceil.ts:11