Setting global floating number length #1615
Unanswered
lainisourgod
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hmm. Rich doesn't attempt to do more with the data than repr would do. I'd consider it. Could you propose how you would like it to work? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'd love to take a crack at implementing this, if it's still of interest to anyone? Approximately all calls I make to the Rich print method look like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I want to round all floating numbers like I do in
f"{number:0.3}"
. I can do this for bare numbers that I have in context, but if some object with numbers inside is pretty-printed, I can't change floats' formatting.What I want

Beta Was this translation helpful? Give feedback.
All reactions