[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fill with zeros
From: |
Rob Mahurin |
Subject: |
Re: fill with zeros |
Date: |
Wed, 3 Jun 2009 13:25:48 -0400 |
On Jun 3, 2009, at 1:10 PM, claudio cortes wrote:
And the question is... How can I standarize de output format of the
first four columns (year,month,day,hour) with two digits (09 instead
of 9,for example). Is there a fprintf option to do this ?
printf("%02d\n", 9);
Rob
--
Rob Mahurin
Department of Physics and Astronomy
University of Tennessee 865 207 2594
Knoxville, TN 37996 address@hidden
- fill with zeros, claudio cortes, 2009/06/03
- Re: fill with zeros,
Rob Mahurin <=