In a script (not Expression) I’m trying to format a two digit int into a zero padded string. i.e.: 22->‘22’ and 4->‘04’
I tried the following from Python documentation:
I get the following error:
AttributeError: 'str' object has no attribute 'format'
Should this work? If not, why? Also, if not what should I use?