SpinShare Referee Bot refbot.ellite.dev/overlay
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

percentage displays should floor, not round (bot and overlay) #23

open opened by alpine.girlfag.club

percentage values displayed in both the bot and overlay should use floor() instead of round() for consistency

fixed in 4bc4cb4

added formatPct(pct, decimals) helper to scoreRank.js that always floors. used it in rankLabel, matchContainers.js rankSuffix, and inlined the equivalent Math.trunc(pct * 1000) / 10 in overlay/render.js (browser js, can't import). the overlay was the real bug โ€” toFixed(1) on a 2-decimal value could round up (e.g. 99.76% โ†’ "99.8%" instead of "99.7%").

sign up or login to add to the discussion
Labels
bot
overlay
bug
assignee

None yet.

Participants 1
AT URI
at://did:plc:oudt4t7nodtb6yb7gkg4mdsr/sh.tangled.repo.issue/3mi3rpbkv7k2g