See FmtInt
If you have Designer 2.8, the STRPRINT has a new script based editor that provides helpful form edit for the various functions. See the attached screen shot.
In the original Text-Based Editor, you would replace your element with a call to FmtInt():
FmtInt(V42,dec,2,zeropad)