The SUM function returns a value that is the sum of the arguments. The type of this function depends upon the argument type
                  as follows: 
                  		
               
 
               	 
              
            	 
             
               		
                
                  		
                  
                      
                        			  
                        			  
                        			 
                         
                           				
                            
                              				  
                              | Argument Type 
                                 				  
                               |  
                              				  
                              Function Type 
                                 				  
                               |  
                              				
                           
 
                           			 
                         
                        			 
                         
                           				
                            
                              				  
                              | All arguments integer 
                                 				  
                               |  
                              				  
                              Integer 
                                 				  
                               |  
                              				
                           
 
                           				
                            
                              				  
                              | Numeric (some arguments may be integer) 
                                 				  
                               |  
                              				  
                              Numeric 
                                 				  
                               |  
                              				
                           
 
                           			 
                         
                        		  
                     
                    
                  		
                 
               	 
              
            	 
            
               Usage
 
               		 
               		FUNCTION SUM ({argument-1} ... ) 
               	   
            	 
            
               Parameter
 
               		 
               		
                
                  		
                  
                      
                        			  
                        			  
                        			 
                         
                           				
                            
                              				  
                              |  
                                 					 argument-1 
                                 				  
                               |  
                              				  
                              Must be class numeric. 
                                 				  
                               |  
                              				
                           
 
                           			 
                         
                        		  
                     
                    
                  		
                 
               	 
              
            	 
            
               Returned Values
 
               		
               		
               
                  		  
                  - The returned value is the sum of the arguments. 
                     		  
                  
 
                  		  
                  - If the 
                     			 argument-1 series are all integers, the value returned is an integer.
                     		  
                  
 
                  		  
                  - If the 
                     			 argument-1 series are not all integers, a numeric value is returned.