I have a series of numeric codes that can be up to 5-digits I'm keeping it as an integer to keep the table small
but when I display it, I need to lead w/zero's, padding the number up to 5-digits So 6 becomes 00006, and 374 becomes 00374 Right now I'm looping through the length of each string, prepending 0's, but I'm sure there's an easier way ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

