String format expansion for multi-valued variables #12055
GersonFeDutra
started this conversation in
Scripting
Replies: 1 comment
-
|
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.
-
Sometimes I need to print values from vectors, arrays and dictionaries in a nice manner, like limiting float decimal places. But having to format each single value individually is a bit boring. So I suggest the above syntax for formatting expansion from a multi-valued (container) variable.
Equivalent to:
Examples:
Regarding the issue #157 purposed syntax:
Beta Was this translation helpful? Give feedback.
All reactions