Wet-Boys / LookingGlass

A QoL UI mod that exposes statistics for items and the player, adjusts the size and features of command and scrapper menus, and much more. Fully open source and compatible with RiskUI!
https://thunderstore.io
GNU Lesser General Public License v3.0
9 stars 5 forks source link

Stats display float precision #30

Closed aembur closed 1 month ago

aembur commented 1 month ago

Due to precision errors, all float values in the stats display should have a limit to their decimal places. A lot of them already seem to have a 3 decimal place limit, but regen doesn't, and this happens quite often:

image

Not sure what other stats would need fixing, regen is the only one I've noticed so far.

Nordblum commented 1 month ago

Same with Base Damage. A parameter "how many digits after the dot" in the options or just making it like 2 digits max would be very cool.

ToastedOven commented 1 month ago

Added in 1.4.1, thanks for the report!