Skip to content

chore: improve the display of data that is an integer multiple of the…#13

Merged
Ahzyuan merged 1 commit intov0.1.xfrom
chore/auto-unit-display
Mar 1, 2025
Merged

chore: improve the display of data that is an integer multiple of the…#13
Ahzyuan merged 1 commit intov0.1.xfrom
chore/auto-unit-display

Conversation

@Ahzyuan
Copy link
Copy Markdown
Member

@Ahzyuan Ahzyuan commented Mar 1, 2025

📋 Summary

Important

  • This PR fixes an issue.
  • This PR has done some code maintenance work.
  • This PR is not a code change (e.g. README, typos, ...)
  • This PR has been tested.

📝 Changes

Details
  • torchmeter/unit.py: improve the display of data that is an integer multiple of the unit value, e.g. (2.0 K -> 2 K)

@Ahzyuan Ahzyuan self-assigned this Mar 1, 2025
@Ahzyuan Ahzyuan merged commit aa85084 into v0.1.x Mar 1, 2025
@Ahzyuan Ahzyuan deleted the chore/auto-unit-display branch March 1, 2025 05:48
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