Hello,
in root, we can have the integer par of a float number by doing something like this
(int) 3.14
==>3
floor(3.14)
==>3
but how to do the same within a Draw(), a Project() or a Scan() command ?
i mean, let's assume
mytree.Scan("myfloat_leaf")
makes a scan values of the leaf within the tree (actually, i don't know if the word leaf is the good word, anyway)
then
mytree.Scan("floor(myfloat_leaf)")
doesn't work
nor
mytree.Scan("(int)(myfloat_leaf)")
in a more general way, is it possible to do something like
mytree.Scan("complex_function(my_leaf)")
thank you Received on Tue Sep 22 2009 - 20:49:24 CEST
This archive was generated by hypermail 2.2.0 : Tue Sep 22 2009 - 23:50:02 CEST