Skip to content

RelativeRoundingMethod

RelativeRoundingMethod is a structural type that appears in public signatures. It is not directly importable.

Used by the formatRelative* family — how the computed distance rounds to the display unit, applied to the signed fractional value (see internal/resolveRelativeRounding.ts).

type RelativeRoundingMethod = "floor" | "ceil" | "round";

types/relative-rounding-method.ts