How to use avg operation in Aggregate Function Using XPath in Xml

In this article I will explain avg operation of aggregate function.
  • 2080

Introduction

The avg operation of aggregate function can be used to find the average of the given values. The average equal to the sum of all the values divided by the number of values.

Syntax

avg((arg1,arg2,arg3,arg4.......))

Example

avg ((9,5,6,7,3))

Output

6

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.