Hacker News new | past | comments | ask | show | jobs | submit login
Ratio-Delta (github.com/llyaudet)
1 point by LLyaudet on June 23, 2023 | hide | past | favorite | 3 comments



An unknown but somewhat common arithmetic operation


It makes more sense to me as (b-a)/b


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 :)




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: