Re: [ROOT] float or double to string

From: Brett Viren (bv@bnl.gov)
Date: Wed Oct 02 2002 - 20:48:01 MEST


Use Form().  See below,

Guillaume Blanc writes:
 >   Stat_t sta1 = h1->GetEntries();
 >   leg = new TLegend(0.67,0.2,0.94,0.4);
 >   leg->AddEntry(h1,Form("Tout (%d)",sta1), "L");

Cheers,
-Brett.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:12 MET