Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Ratio-Delta
(opens in new tab)
(github.com)
1 points
LLyaudet
3y ago
3 comments
Save
Share
3 comments
3 comments · 2 top-level
top
newest
oldest
compressedgas
3y ago
· 1 in thread
It makes more sense to me as (b-a)/b
LLyaudet
OP
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 :)
LLyaudet
OP
3y ago
An unknown but somewhat common arithmetic operation
j
/
k
navigate · click thread line to collapse