Number to string headed by zeros
- To: mathgroup at smc.vnet.net
- Subject: [mg110297] Number to string headed by zeros
- From: Rui <rui.rojo at gmail.com>
- Date: Sat, 12 Jun 2010 05:32:16 -0400 (EDT)
I need to create strings out of integers, padding them with zeros, cause otherwise they end up sorted in the wrong order. "10.gif" before "1.gif". For now I'm gonna do it by adding 1000, converting to string, and taking the heading 1, but I'm sure there are better options. THanks Rui