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

num_rational::Ratio: Add the ability to format as a decimal #358

Closed
joshlf opened this issue Dec 21, 2017 · 1 comment
Closed

num_rational::Ratio: Add the ability to format as a decimal #358

joshlf opened this issue Dec 21, 2017 · 1 comment

Comments

@joshlf
Copy link

joshlf commented Dec 21, 2017

Ratio's Display implementation formats as a fraction (e.g., 17/42). It would be useful if there were a way to format instead as a decimal (e.g., 0.4047619048).

@cuviper
Copy link
Member

cuviper commented Dec 21, 2017

This issue was moved to rust-num/num-rational#10

@cuviper cuviper closed this as completed Dec 21, 2017
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

No branches or pull requests

2 participants