Repository navigation
Use double consistently for JSON decimal conversion - #236
Open
Mike Krüger (mkrueger) wants to merge 3 commits into
Open
Mike Krüger (mkrueger) wants to merge 3 commits into
Mike Krüger (mkrueger) wants to merge 3 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Mike Krüger (mkrueger)
requested review from
a team
and
a balanced review from Copilot
October 5, 2026 07:12
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The implementation consistently matches existing shell numeric semantics and includes focused regression coverage and documentation.
Review effort: Balanced
Findings: None
What changed in this PR
Aligns JSON decimal conversion with the shell’s double representation, fixing numeric-string arithmetic and comparisons.
Changes:
- Converts JSON numbers and numeric strings to invariant-culture
double. - Expands conversion, value-origin, and culture tests.
- Documents numeric-string coercion behavior.
| File | Description |
|---|---|
README.md |
Summarizes numeric-string behavior. |
docs/programming.md |
Documents coercion rules and examples. |
ShellJson.cs |
Uses double for decimal conversion. |
StatementExecutionTests.cs |
Tests operators across value origins. |
ShellObjectConversionTests.cs |
Verifies direct double conversion. |
CultureInvariantConversionTests.cs |
Tests invariant-culture parsing. |
CHANGELOG.md |
Records the fix. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Vsevolod Kukol (sevoku)
approved these changes
Oct 6, 2026
Collaborator
Author
|
Copilot resolve the merge conflicts in this pull request |
…-decimal-conversion Co-authored-by: mkrueger <341098+mkrueger@users.noreply.github.com>
Contributor
Merged |
Vsevolod Kukol (sevoku)
approved these changes
Oct 6, 2026
Update PR #236 with the latest filter index validation changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Vsevolod Kukol (sevoku)
approved these changes
Oct 7, 2026
Mike Krüger (mkrueger)
enabled auto-merge (squash)
October 7, 2026 10:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation