control-panel-for-twitter icon indicating copy to clipboard operation
control-panel-for-twitter copied to clipboard

Improve interaction count formatting with consistent rounding

Open tohu-sand opened this issue 3 months ago • 1 comments

Summary

  • Improved interaction count formatting to match Twitter's native display behavior

Why

  • Twitter's native interface uses floor-based rounding (truncation) for interaction counts, not standard rounding
  • The previous implementation used standard rounding which didn't match Twitter's actual behavior
  • For example, Twitter displays 17,609 as "17K", not "18K" image

Files Changed

  • script.js

Examples

  • 17,609: "18K" → "17K" (matches Twitter's native display)
  • 9,999: "9,999" (unchanged)

tohu-sand avatar Sep 21 '25 03:09 tohu-sand

Given this opinion, it might be better to add an option to show the full retweet and like counts instead of the abbreviated ones...

tohu-sand avatar Nov 06 '25 03:11 tohu-sand