Skip to main content

Function: formatReductionFactor()

formatReductionFactor(value): string

Formats one reduction factor: a whole factor without decimals, any other factor with 2 decimals. A factor above 1 that would round to 1.00 prints as <1.01, because even a one-pixel reduction is significant: it can cause moiré patterns, as a one-pixel magnification can.

Parameters​

• value: number

Returns​

string

Defined in​

packages/core/src/RenderingEngine/helpers/fidelityIndicator/fidelityIndicatorState.ts:320