Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
compressedgas
· 3y ago · 0 comments
It makes more sense to me as (b-a)/b
Comments
[–]
LLyaudet
3y ago
Or 1 - (a/b) ;) The rational behind my choice of a/b - 1 is that it corresponds exactly to what I was asked to display in an accounting report and use it to filter some lines. I would be happy if you can elaborate why it makes more sense to you :)