Skip to content

Preserve three-decimal utility meter values#40

Merged
mihape merged 1 commit into
mainfrom
fix-utility-meter-decimal-parser
Jul 1, 2026
Merged

Preserve three-decimal utility meter values#40
mihape merged 1 commit into
mainfrom
fix-utility-meter-decimal-parser

Conversation

@mihape

@mihape mihape commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • split utilities numeric parsing between currency-like values and meter/rate values
  • preserve three-decimal meter readings and rates such as 123.456 and 36.386
  • keep currency-like values such as 225.000 parsed as 225000
  • document the fix in the Unreleased changelog

Tests

  • node --check src/modules/utilities/utilities.module.js
  • git diff --check
  • targeted utilities parser smoke test for money thousands, meter three-decimal values, comma decimals, and negative clamps

Closes #39

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@mihape mihape merged commit b68252e into main Jul 1, 2026
1 check passed
@mihape mihape deleted the fix-utility-meter-decimal-parser branch July 1, 2026 08:03
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.

[Bug] Preserve three-decimal utility meter inputs

1 participant