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
Hi, using both nodejs and in the browser (firefox and chrome), I'm not getting the expected result for compareTo of 'equal' values, one with trailing zeros.
I thought compareTo ignored scale? Maybe I'm missing something though?
For now I'm adding .stripTrailingZeros() for each side of compareTo calls as a workaround.
@leehankyeol ya your right, long time ago (you can search my projects) I moved to https://github.com/substack/node-bigint. This lib didn’t work for me. Can vouch that the lib I went to was validated against other bigint classes (I.e Java, also in my public projects).
Hi, using both nodejs and in the browser (firefox and chrome), I'm not getting the expected result for compareTo of 'equal' values, one with trailing zeros.
I thought compareTo ignored scale? Maybe I'm missing something though?
For now I'm adding .stripTrailingZeros() for each side of compareTo calls as a workaround.
Example:
The text was updated successfully, but these errors were encountered: