@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
| Property | Type | Description | Defined in |
|---|---|---|---|
precision? | number | The number of decimal places to consider when applying the ceiling. Defaults to 0. | src/ceil.ts:13 |
tolerance? | number | A small value to subtract from the input before applying the ceiling, useful for floating-point tolerance. Defaults to 0. | src/ceil.ts:11 |