Skip to content

fix: honor precision for e and E formatting - #96

Open
miachillgood wants to merge 1 commit into
anz-bank:masterfrom
miachillgood:fix/append-exp-precision
Open

fix: honor precision for e and E formatting#96
miachillgood wants to merge 1 commit into
anz-bank:masterfrom
miachillgood:fix/append-exp-precision

Conversation

@miachillgood

Copy link
Copy Markdown

Summary

  • honor explicit precision for e and E formatting in Decimal64.Append
  • keep the existing trimmed-output behavior when precision is not specified
  • add regression coverage for explicit exponent-format precision in both formatter paths

Testing

  • git diff --check
  • local go test could not be run in this environment because Go is not installed

Closes #13.

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.

Use prec parameter in (Decimal64).Append

1 participant