You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by themastermindnktp February 18, 2022
In file src/divide.ts line 17, function divide(dividend, divisor, precision), your code instantly returns "0" without processing precision. This is quite inconsistent. For example: divide("10", "2", 3) -> "5.000" while divide("0", "2", 3") -> "0".
The text was updated successfully, but these errors were encountered:
Jsoto22
added a commit
to Jsoto22/js-big-decimal
that referenced
this issue
Apr 6, 2024
Discussed in #56
Originally posted by themastermindnktp February 18, 2022
In file
src/divide.ts
line 17, functiondivide(dividend, divisor, precision)
, your code instantly returns"0"
without processingprecision
. This is quite inconsistent. For example:divide("10", "2", 3) -> "5.000"
whiledivide("0", "2", 3") -> "0"
.The text was updated successfully, but these errors were encountered: