Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: padding in ToString

  • To: mathgroup at
  • Subject: [mg43719] Re: padding in ToString
  • From: bobhanlon at (Bob Hanlon)
  • Date: Thu, 2 Oct 2003 02:51:13 -0400 (EDT)
  • References: <blcqom$p8b$>
  • Sender: owner-wri-mathgroup at

      NumberForm[i, 3, NumberPadding->"0"]], {i,0,5}]


      PaddedForm[i, 3, NumberPadding->"0"]], {i,0,5}]


Bob Hanlon

In article <blcqom$p8b$1 at>, Konstantin L Kouptsov
<kouptsov at> wrote:

<< I generate a filename automatically by using


however I would like it to be zero padded from the left (so all the 
numbers/names have the same length:


How can I do that?

  • Prev by Date: Re: Help to solve numerical equation
  • Next by Date: Re: Help to solve numerical equation
  • Previous by thread: RE: padding in ToString
  • Next by thread: Re: Slope fields