fribbels/hsr-optimizer

[Feature] Show 1000ths decimal place on character preview for certain ranges

fribbels opened this issue · 1 comments

Reserved for first issue / new contributors

Motivation

Currently we show 10ths place on character previews which is fine for the majority of cases, but there are certain ranges where we need more precision for speed breakpoints, like around 133.333...

image

Objective

  • Expand the decimal display to 1000ths place for the following ranges, lower bound inclusive and upper bound exclusive:
    • [111.1, 111.2)
    • [114.2, 114.3)
    • [133.3, 133.4)
    • [142.8, 142.9)
    • [155.5, 155.6)
    • [171.4, 171.5)
    • [177.7, 177.8)

Ranges picked from speed breakpoints

for ambiguous decimals.

Note: We should apply a Utils.precisionRound(spdValue) to the speed

Released in #298