How to round the value of {percentChange}

520
2
Jump to solution
04-01-2021 01:57 PM
MichaelBouvet
New Contributor III

Hello, 

I am using the {percentChange} arcade syntax to show the percentage increase or decrease in a YTD indicator in dashboard. It works great, but as shown in the screenshot provided, the resultant value is not rounded. 

Does anyone know how to make sure the value gets rounded? 

 

MichaelBouvet_1-1617310605231.png

 

0 Kudos
1 Solution

Accepted Solutions
SteveOwens
New Contributor II

Scroll down on that screen to Formatting. Change the Percentage Pattern to "##.#", see if that works.

SteveOwens_0-1617311221244.png

 

View solution in original post

2 Replies
SteveOwens
New Contributor II

Scroll down on that screen to Formatting. Change the Percentage Pattern to "##.#", see if that works.

SteveOwens_0-1617311221244.png

 

MichaelBouvet
New Contributor III

This worked! Thank you so much!

0 Kudos