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
@milankyncl I think I why this bug might be happening. The core function transformScale preforms a rounding operation in multiply. The logic was recently reworked in down. I'll add some tests and dive into it soon.
Is there an existing issue for this?
Current behavior
After multiplying negative numbers it adds an extra amount into the Dinero object.
Happy to share further details.
Reproducible in the attached Code Sandbox.
Expected behavior
To be the same, but just in a negative value.
Steps to reproduce
https://codesandbox.io/s/fervent-violet-qkozxe?file=/main.js
Version
2.0.0-alpha.13
Environment
Node.js v14.18.0
Code of Conduct
The text was updated successfully, but these errors were encountered: