Closed satrio1256 closed 3 years ago
Oh my bad, there is nothing wrong with your library.. The issue is my docker that did not refresh the code and makes it return 0
π
Be careful with roundings, too, youβre rounding to 0 decimals here!
Maybe you could use BigRationals for calculations, then convert to a BigDecimal on the very last step.
Got it, thanks for the advice π
Hi! I'm currently trying to convert this following formula to my code
However it somehow give different result when I wrote
dividedBy then multipliedBy
andmultipliedBy then dividedBy
I'm not quite sure if this behavior is intended or there is incorrect implementation from my end..
Thank you for creating this amazingly useful library though π