Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bringtheaction
· 8y ago · 0 comments
Would rather store percentages in single bytes, so let 0xFF / 0xFF = 100%.
0x81 / 0xFF = 129 / 255 ~= 50.59%
Comments
[–]
Cogito
8y ago
Makes a lot of sense, but maybe a slightly longer bow to draw given that we would never us xx/99 as a percentage in decimal :)