Replies: 1 comment
-
Henry I am currently changing the formatting code to use standard python formats. This includes locale formats so using a comma as a decimal separator will be fine. This will be available in the next release Cheers Alex |
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
-
@Alex-developer
Hi Alex,
I had a problem with the formatting of a Number field. For example, I tried the following formats for
${MEAN}
in the overlay editor:Test with
%.2f
Line
698
,format = format.replace("%", "{:.") + "}"
Result for format:
{:..2f}
Test with
{:.2f}
Result format:
{:.2f}}
For us Germans, there is also the fact that the decimal separator may be a comma. I have adapted the function like this. Not much tested, the syntax can certainly be adapted (only the principle):
Henry
Beta Was this translation helpful? Give feedback.
All reactions