Hyperion icon indicating copy to clipboard operation
Hyperion copied to clipboard

Use integer cents in AMAP / Tombola

Open BLEMENT33 opened this issue 1 year ago • 3 comments

Description

I change all the amounts in cents (integer) to avoid rounding issues.

BLEMENT33 avatar Mar 15 '24 21:03 BLEMENT33

Nice one ! You will need to look into migration files to convert float euro database values to new int cent values

guillaumetavernier avatar Mar 15 '24 22:03 guillaumetavernier

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.26%. Comparing base (f231edc) to head (f1a966a). Report is 14 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #366   +/-   ##
=======================================
  Coverage   78.26%   78.26%           
=======================================
  Files          76       76           
  Lines        5351     5351           
=======================================
  Hits         4188     4188           
  Misses       1163     1163           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Mar 15 '24 23:03 codecov[bot]

Partially superceded by https://github.com/aeecleclair/Hyperion/pull/686 for AMAP module

armanddidierjean avatar Apr 10 '25 14:04 armanddidierjean