Re: [ROOT] Converting Int to String

From: Axel Naumann (naumann@hef.kun.nl)
Date: Fri Jul 04 2003 - 16:18:38 MEST


Hi Chris,
Form("%d", 120) works.

Axel.

Chris Hayward wrote:
> Hello,
> I would like to convert an integer value to string, i.e. 120 to "120", but
> it seems that the stdlib.h function itoa is not recognized. I am using
> ROOT 3.05/05 with gcc 2.96 on lxplus. Is there a ROOT function that will
> do the same thing as itoa?
> 
> Thank you,
> Chris Hayward



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET