mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-19 23:22:26 -07:00
Previously, user could end up with progress displays like
35.019996643066406/100
because Mihon was sending raw Doubles/simply stringified Doubles for
progress data.
We now round to 2 decimal places & trim off any trailing zeroes such
that integers are sent as "1" instead of "1.0" while retaining "25.5"
and "41.02" as such.
(cherry picked from commit 1ca9b0efb8)