>wowhelm_
~/forever/addon-api/table/NumericRuleFormatComponent

NumericRuleFormatComponent

documented structure · NumericRuleFormatterShared
Structure NumericRuleFormatComponent
──FIELDS
div
number, optional (If specified, divide the value by this amount and use the resulting quotient. This is applied before modulo division.)
mod
number, optional (If specified, divide the value by this amount and use the resulting remainder. This is applied after quotient division.)
step
number, optional (If specified, round the value to multiples of this step. This is applied after all division.)
rounding
NumericRuleFormatRounding, default Nearest (If specified, rounding mode to apply to the step.)
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.