Difference between revisions of "LIST STAT MEAN"
Jump to navigation
Jump to search
(New page: {{LSL Constant |name=LIST_STAT_MEAN |type=integer |value=3 |desc= |pa= |text= |pb= |examples |constants= <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |functions= {{LSL DefineRow||[[llListStatisti...) |
m (<nowiki><lsl></nowiki> tag conversion) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|type=integer | |type=integer | ||
|value=3 | |value=3 | ||
|desc= | |desc=Calculates the mean (average) of the numbers in the list. | ||
|pa= | |pa | ||
|pb | |||
|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 15:02, 23 January 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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.
Caveats
Related Articles
Functions
• | llListStatistics |
Examples
float mean = llListStatistics( LIST_STAT_MEAN, numList );