I'm trying to make some print statements in ROOT using Info, as in Info("execute()","the pt of the jet = %.2f Gev", (*jets_itr)->pt()); and I am trying to find some documentation that will tell me what symbols to use to use for ints, doubles, etc (I think know from another source that .2f is a float, but otherwise I'm just guessing). Thanks
Asked
Active
Viewed 47 times
1 Answers
1
you can find the full list here: http://www.cplusplus.com/reference/cstdio/printf/

Asen Christov
- 848
- 6
- 21