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(coin): round VND conversion from USD to avoid missing bonus coin #49

Merged
merged 1 commit into from
Dec 5, 2023

Commits on Dec 5, 2023

  1. fix(coin): round VND conversion from USD to avoid missing bonus coin

    The fix addresses a scenario where the conversion from USD to VND in the completion of a PayPal
    order might result in a fractional VND value due to the infinite float of the exchange ratio.
    Rounding the VND result prevents the loss of bonus coins.
    quannhg committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    4f8d8f3 View commit details
    Browse the repository at this point in the history