Closed ryanbarr closed 2 years ago
Describe the bug In some cases, the inventory value calculation is off by a factor over 2:1.
To Reproduce Steps to reproduce the behavior:
Expected behavior An accurate inventory value should be displayed.
Screenshots
Additional context N/A
This is due to getInventory() and how quantity multiples works.
getInventory()
Floating points in JavaScript are no fun.
Resolved with 42bcd0c
Describe the bug In some cases, the inventory value calculation is off by a factor over 2:1.
To Reproduce Steps to reproduce the behavior:
Expected behavior An accurate inventory value should be displayed.
Screenshots
Additional context N/A