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