Formating number (simple)

I am a newbie and have a very simple question. I have tried lot’s of variations but i cant seem to get this right. I have a parameter that is “0,06” which i want to have displayed as “6,0%” how do i do this?

Another related question is that i have variable that is a number “25322” i want to display this as “25 322” (blank as thousand separator), i have tried various variations with numberFormat but it wont work.

Greatful of any assistance!

Hi!

Welcome to the community.

  1. You need to parse number first. Then simply multiply it by 100 and add % symbol.
{{(parseNumber("0,06"; ",") * 100)}}%

to format it to decimal points- add {{formatNumber}}:

{{formatNumber((parseNumber("0,06"; ",") * 100); 1; ",")}}%
  1. To format it use {{null} and {{space}}

{{formatNumber(25322; 0; null; space)}}

2 Likes

Many thanks! So grateful for this support!

1 Like

You are welcome!

Michal @Simplymation