- This topic has 2 replies, 2 voices, and was last updated 15 years, 6 months ago by .
-
Topic
-
I need to append zeros to the front of a Dr. number, when that number is less than 5 digits. 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
Viewing 1 reply thread
Viewing 1 reply thread
- The forum ‘Cloverleaf’ is closed to new topics and replies.