Re: [ROOT] Module operation

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun Oct 29 2000 - 22:03:54 MET


Hi Roberto,
If by "Module" you mean the modulo operator, this is a standard C
operator. You can do 
  int i = xxxx;
  int j = i%10;

Rene Brun

On Sun, 29 Oct 2000, Roberto Barbera wrote:

> hello rooters,
> 
> is there any way to calculate the Module operation under Root ? I looked
> into TMath but I could not find it. 
> 
> cheers
> 
> Roberto
>  
> -- 
> Roberto Barbera (mailto:roberto.barbera@ct.infn.it)
> Phone: ++.39.095.71.95.232 
> Fax: ++.39.095.38.30.23
> WWW: http://www.ct.infn.it/~barbera



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET