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

[IMP] web: add rounding methods #165189

Closed
wants to merge 1 commit into from

Commits on May 15, 2024

  1. [IMP] web: add rounding methods

    This commit adds rounding methods that already exit in python:
    - DOWN: always rounds towards 0
    - UP: always rounds away from 0
    - HALF-DOWN: rounds to the closest number with ties going towards
      zero
    - HALF-EVEN: rounds to the closest number with ties going to the
      closest even number
    - HALF-UP: rounds to the closest number with ties going away from
      zero (this method was the one implemented before this commit)
    
    task-3918420
    mcm-odoo committed May 15, 2024
    Configuration menu
    Copy the full SHA
    36ebda4 View commit details
    Browse the repository at this point in the history