I'm trying to format a number with leading 0's in a Canvas Metric element. In the expression editor I have:
| math "count"
| formatnumber format="0000"
It displays "count" just fine, but never with the leading 0's. If I change it to:
| math "count"
| formatnumber format="0000.0"
Then it adds the .0 just fine, but still does not add the leading 0's. So, I know that my formatnumber function is being invoked, but never formats the number with the leading zeros that I need.