How to change the "Separator" of a number in a Markdown field?

Hello,
image

How to change the “Separator” of a number in a Markdown field?

I have the number 200000.6 in {{price}}

How to transform it into 200.000,6 or 200 000.06

I have the system in es-ES

I try {{Separator price es-ES}} and {{Separator price de-DE}}

I was looking on GitHub:
nocobase/packages/plugins/@nocobase/plugin-data-visualization/src/client/ /transformers.ts

But don’t work

I use {{addCommas price}} but the result is 200,000.6 and is not what i want.

Please help me :slight_smile:

You can use the Handlebars engine and extend a helper to format numbers.

Thank you for your response, but unfortunately, I don’t have the knowledge to do what you’re telling me. Could you help me do it?

If that’s the case, it’s difficult right now. This requirement will become easier when we release 2.0 soon.

1 Like

Thank you!
Is there a list of what’s new in version 2.0?

We will update the release and development plan later this month.