Showing math result as percentag

I am trying to display the result of this equation as a percentage.
currently result displays as decimal.
appreciate any help.
blocks

You can use format as decimal number block from math blocks setting decimal places to 0.

image

Also you can use join block

image

3 Likes

but it will become a string and not a number...:wink:

3 Likes

thanks for the help. Had a feeling is was going to be the join block but wasn't sure how. I will test it out and see if text is an issue.

You can always remove the space and the % to get the number back....

that was going to be my next question, in case i need it in another equation

1 Like

a couple of options

image

image

4 Likes

use part of dora and tim's advice but only display the percentage value in your Label. Where you display the percentage, use a HorizontalArrangement and place a second Label next to the value label to display the percentage symbol.

Like Label1 Label2
52 %

What you actually do depends on how you display your information and what you want to do with the numerical value. The calculated value goes in Label1, the percentage symbol or words 'percent' goes in Label2.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.