help-octave
[Top][All Lists]
Advanced

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]