When we deal with metrics that vary a lot by some dimension, we may need to adjust custom number formatting. For example, suppose we want to round to a whole number if the metric is above 100, to one decimal place if the metric is above 15, and to two decimal places if the metric is below 15.
How to implement custom number formatting