printf minimum width issue with %g #16977
Labels
bug
Indicates an unexpected problem or unintended behavior
display and printing
Aesthetics and correctness of printed representations of objects.
help wanted
Indicates that a maintainer wants help on an issue or pull request
Is this behavior incorrect in the second case below?
In the second case, only 6 characters are printed between the bars, yet I specified with %8 that a minimum of 8 chars should be printed.
One option is to pad the extra spaces before 3. Otherwise, print a decimal and zero after 3, which is the same (correct) behavior as:
Bumping #10610, Julia might benefit from rethinking print formatting.
The text was updated successfully, but these errors were encountered: