Hi Stelios, You can do, eg int numb = 6; TString s = "Stelios"; s += numb; TString s = Form("Stelios%d",numb); Rene Brun On Wed, 14 Jul 2004, Stilianos Kesisoglou wrote: > Hi, > > Is there any way that I can convert a number into a string in ROOT? > For example in Visual Basic one can write: > > Dim a as Single > Dim str_a as String > a=3.141592654 > str_a = CStr(a) > > and str_a is the string "3.141592654" > > Thanks! > > Stelios. >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET