I have some float values and I want to save them somewhere like an array list.
            
             
            
            
             
            
            
             
            
            
             
            
            
             
             
           
 
            
           
             1.232, ...
            
            
             ArrayList values ;
            
            
             values = new ArrayList();
            
            
             values.add(1.232);
            
            
             .
            
            
             .
            
            
             .
            
            
             now how can I get the last float value and scale that ? it gives me error with values.get(size-1) : incompatible types
            
             
              
              1  
            
 
            
 
 
           
 
             
 
            