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

Output a BigRational in decimal form with period #74

Open
BenMorel opened this issue Aug 4, 2022 · 0 comments
Open

Output a BigRational in decimal form with period #74

BenMorel opened this issue Aug 4, 2022 · 0 comments

Comments

@BenMorel
Copy link
Member

BenMorel commented Aug 4, 2022

It could be nice to provide a way to output a BigRational as a decimal number with its decimal period.

For example, 10/3 could be output as 3.(3), while 171/70 could be output as 2.4(428571).
(Not sure about the correct format here, is there a standard for this?)

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

1 participant