It is currently March 28th, 2024, 8:38 pm

How to round a string

Get help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: How to round a string

Post by jsmorley »

You certainly don't need that meter just to display the "%" character. No matter which way you go, that is just not needed.

You can do the Calc measure and MeasureName and NumOfDecimals on the meter and then use

Text=%1%

To display the value for the measure defined in MeasuresName with the "%1" token, then follow that with a hard coded "%" right on the Text option.

Or you can use the section variable approach and basically do the same thing.

Text=[AdsPercentage:1]%
DynamicVariables=1

Or you can even use the Postfix option

Postfix=%