Simple question: Add preceding zeros in expression language

Hi guys,

Easy question. I have tags that are like tag001, tag 002, tag 010, etc. I would like to indirectly reference these tags from a template repeater, but the count only gives me 1, 2, 3. not 001, 002, 003.

How would I script an expression to turn 1 into ‘001’? Is there an expression like python’s zfill()?


  • Mike

I think you can get the numberFormat function to do that for you. … format.htm


I feel dumb.