@technobuddha > library > Math > Operations
Type Alias: FloorOptions
ts
type FloorOptions = {
precision?: number;
tolerance?: number;
};Defined in: floor.ts:9
Options for the floor function
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
precision? | number | The number of decimal places to consider when applying the ceiling. Defaults to 0. | src/floor.ts:13 |
tolerance? | number | A small value to add to the input before applying the floor, useful for floating-point tolerance. Defaults to 0. | src/floor.ts:11 |