I have some code that I use to strip zeros in my translation (see below)
set inp [lindex $xlateInVals 0]
set xlateOutVals [string trimleft $inp 0]
But, I need some that will add zeros until the total number of digits in the number equal 5. Does anyone have anything that they can share?
Thanks