Re: Converting int to string



On 29 Oct 2005 09:35:54 -0700, "Nick" <nickmacdonaldw@xxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

>Can anyone tell me how to develop this so that it shows the months ie
>January, February etc when it runs.

the basic idea is to create a 12-long array constant containing the
months of the year. You can then index it by 0-based month number to
get a string.

See learn how to create array constants see
http://mindprod.com/jgloss/gotchas.html#ARRAY
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages