The token has a built-in formatting menu.
For example, here the mean value is shown in the title of this histogram.
Here is the formatting menu you get when clicking on the right side of the token.
For the formatting to be applied, select the desired format then click enter in the field.
Is that what you were looking for?