Difference between revisions of "LIST STAT MEAN"

From Second Life Wiki
Jump to: navigation, search
m
m (<nowiki><lsl></nowiki> tag conversion)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
|value=3
 
|value=3
 
|desc=Calculates the mean (average) of the numbers in the list.
 
|desc=Calculates the mean (average) of the numbers in the list.
|pa=
+
|pa
|text=
+
|pb
|pb=
+
|examples=
|examples
+
<source lang="lsl2">
 +
float mean = llListStatistics( LIST_STAT_MEAN, numList );
 +
</source>
 
|constants=
 
|constants=
 
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->
 
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->

Latest revision as of 16:02, 23 January 2015

Description

Constant: integer LIST_STAT_MEAN = 3;

The integer constant LIST_STAT_MEAN has the value 3

Calculates the mean (average) of the numbers in the list.

Related Articles

Functions

•  llListStatistics

Examples

float mean = llListStatistics( LIST_STAT_MEAN, numList );

Deep Notes

Search JIRA for related Issues

Signature

integer LIST_STAT_MEAN = 3;