Skip to content

Fix Display for Dec#1774

Merged
Fraccaman merged 2 commits intomainfrom
brent/fix-dec-display
Aug 11, 2023
Merged

Fix Display for Dec#1774
Fraccaman merged 2 commits intomainfrom
brent/fix-dec-display

Conversation

@brentstone
Copy link
Copy Markdown
Collaborator

@brentstone brentstone commented Jul 27, 2023

Describe your changes

The Display trait for Dec is buggy such that if I have a number 14000.000, the number is displayed as 14. We attempt to strip the zeros to the right of the . and the . itself, but we end up stripping all the zeros left-adjacent to the . as well. The stripping is fixed now.

Indicate on which release or other PRs this topic is based on

v0.20.1

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@brentstone brentstone requested a review from batconjurer July 27, 2023 15:53
juped added a commit that referenced this pull request Aug 9, 2023
…nto main

* namada/brent/fix-dec-display:
  changelog: #1774
  fix Display for Dec
Fraccaman added a commit that referenced this pull request Aug 11, 2023
* origin/brent/fix-dec-display:
  changelog: #1774
  fix Display for Dec
@Fraccaman Fraccaman mentioned this pull request Aug 11, 2023
Fraccaman added a commit that referenced this pull request Aug 11, 2023
* origin/tomas/rm-dead-file:
  rm accidentally revived file replaced by `apps/src/lib/cli/client.rs`
  changelog: #1774
  fix Display for Dec
@Fraccaman Fraccaman merged commit 8773472 into main Aug 11, 2023
@Fraccaman Fraccaman deleted the brent/fix-dec-display branch August 11, 2023 14:02
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.

3 participants