Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix big-decimal issue #58

Closed
wants to merge 2 commits into from
Closed

fix big-decimal issue #58

wants to merge 2 commits into from

Conversation

malik672
Copy link
Owner

@malik672 malik672 commented Mar 17, 2024

this pr aims to close issue #57
this is a significant change for those using the previous version of sdk-core

@malik672 malik672 linked an issue Mar 17, 2024 that may be closed by this pull request
@malik672 malik672 requested a review from shuhuiluo March 17, 2024 07:56
Comment on lines +221 to +225
let amount = CurrencyAmount::from_raw_amount(TOKEN0.clone(), 12345896).unwrap();
assert_eq!(
amount.to_fixed(0, Rounding::RoundHalfUp).unwrap(),
"12345896"
);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@malik672 malik672 closed this Mar 17, 2024
@shuhuiluo shuhuiluo deleted the upstream branch September 23, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade bigdecimal to 0.4.3 and fix tests
2 participants