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

NumericRuleFormatBreakpoint

documented structure · NumericRuleFormatterShared
Structure NumericRuleFormatBreakpoint
──FIELDS
threshold
number (Minimum input value that this rule applies to.)
step
number, optional (If specified, the input value is rounded to multiples of this step before processing.)
rounding
NumericRuleFormatRounding, default Nearest (If specified, the rounding mode to apply to the step.)
min
number, optional (If specified, clamps the input value to this value if lesser after rounding.)
max
number, optional (If specified, clamps the input value to this value if greater after rounding.)
format
string (The format string to apply at this threshold. If no components are specified, this can include at-most one numeric format specifier - else, should contain an equal number of format specifiers to elements in the components array.)
components
table<NumericRuleFormatComponent>, optional (Vector of component descriptions for this rule.)
──VERSION HISTORY

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