Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add string.Replace to fix #811 #812

Merged
merged 2 commits into from
Apr 27, 2019
Merged

Conversation

AKTheKnight
Copy link
Contributor

@AKTheKnight AKTheKnight commented Apr 22, 2019

Fix #811.
This replaces the format from #.## to 0.## to make sure we return 0 B instead of just B.

@clairernovotny clairernovotny merged commit 9552022 into Humanizr:master Apr 27, 2019
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.

0.Bytes().Humanize("#.## B") returns " B"
2 participants