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

[QUESTION] Write float with fixed fixed number of digits after the decimal point #171

Open
legendre6891 opened this issue Oct 20, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@legendre6891
Copy link

Question

I'm wondering if there is a set of option and formats which accomplishes the equivalent of %.[prec]f and %.[prec]e in printf() notation?

I tweaked the following set of parameters:

  • no_exponent_notation
  • min_significant_digits and max_significant_digits
    but due to the way significant digits are defined, it does not seem possible to replicate the %.[prec][e|f] behavior.
@legendre6891 legendre6891 added the question Further information is requested label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants