Avg: Difference between revisions

From The K Language Wiki
Content added Content deleted
("Add category")
("Add all appropriate categories to each verb")
Line 14: Line 14:


[[Category:Named verbs]]
[[Category:Named verbs]]
[[Category:Verbs]]
[[Category:Primitives]]

Revision as of 03:14, 9 July 2022

Avg
avg x
Supported in K7, K9

Avg computes the average of a numeric or character array in K.

 avg 1 2 3
2.
 avg 67 78 1
48.66667
 avg "abc"
98.