Skip to content

Ensure consistent monetary rounding with BigDecimal#43

Open
RecoTG wants to merge 1 commit intomainfrom
codex/standardize-money-rounding-to-2dp
Open

Ensure consistent monetary rounding with BigDecimal#43
RecoTG wants to merge 1 commit intomainfrom
codex/standardize-money-rounding-to-2dp

Conversation

@RecoTG
Copy link
Owner

@RecoTG RecoTG commented Aug 16, 2025

Summary

  • Add Money utility for two-decimal rounding using BigDecimal
  • Use Money.fmt across shop service, commands, and menus for price display
  • Store YAML decimal values as strings to avoid float drift

Testing

  • mvn -q -e test (fails: Network is unreachable for maven-resources-plugin)

https://chatgpt.com/codex/tasks/task_e_68a111ebd628832e991de7a583b3ad89

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.

1 participant