You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/xquery/aggregate-functions-avg.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ fn:avg($arg as xdt:anyAtomicType*) as xdt:anyAtomicType?
37
37
## Remarks
38
38
All the types of the atomized values that are passed to **avg()** have to be a subtype of exactly one of the three built-in numeric base types or xdt:untypedAtomic. They cannot be a mixture. Values of type xdt:untypedAtomic are treated as xs:double. The result of **avg()** receives the base type of the passed in types, such as xs:double in the case of xdt:untypedAtomic.
39
39
40
-
If the input is statically empty empty is implied and a static error is raised.
40
+
If the input is statically empty, empty is implied and a static error is raised.
41
41
42
42
The **avg()** function returns the average of the numbers computed. For example:
0 commit comments