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
Thank you for reporting this @Talljoe. We are aware of this limitation and are investigating solutions that we can employ in our upcoming 4.x client release. Updating the 3.x client would introduce a breaking change to existing implementations, unfortunately. We will leave this issue open and will provide updates when they become available.
Describe the bug
The Go library uses float for monetary values. Float is widely discouraged as it does not contain the necessary precision to handle currency values.
To Reproduce
Fetch a credit invoice of
$-79.99
. Multiply by100.0
and convert to an `int:Expected behavior
Library should use a Decimal or other fixed-point
Your Environment
The text was updated successfully, but these errors were encountered: