Browse Search Popular Register Upload Rules User list Login:
Search:
Simple Average of a list of numbers

Image:
screenshot of the scene

Author: Pedro6159

Group: Default

Filesize: 36.73 kB

Date added: 2020-12-26

Rating: 5

Downloads: 833

Views: 241

Comments: 0

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

¯\_(ツ)_/¯


Variable :
scene.my.numbers = [6, 8, 10, 9];

Code :
Scene.my.result = [];
text = math.toString(Reflection.ExecuteCode(string.list2str(for((st-
ring.length(scene.my.Value)), (n)=>{
string.length(string.split(math.toString(scene.my.Value(n)), ".")) > 1 ? {
scene.my.result = scene.my.result ++ ["+(" + math.toFloat(scene.my.Value(n)) + ")"]
} : {
scene.my.result = scene.my.result ++ ["+(" + math.toFloat(scene.my.Value(n)) + ".0)"]
}
}))) / string.length(Scene.my.Value))
Last edited at 2020/12/26 21:30:02 by Pedro6159
Please log in to rate this scene
edit
Similar scenes
Title: The Ultimate Number Comparison List
Rating: 5
Filesize: 43.51 kB
Downloads: 2293
Comments: 2
Ratings: 1
Date added: 2018/03/30 12:10:53
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Moving Average, Average and List Interpolation Scripts!
Rating: 5.25
Filesize: 27.7 kB
Downloads: 273
Comments: 3
Ratings: 2
Date added: 2024/04/08 15:59:11
Made with: Algodoo v2.1.0
Rating: rated 5.3
download
Title: Awful Numbers List
Rating: 5
Filesize: 6.89 kB
Downloads: 605
Comments: 1
Ratings: 1
Date added: 2017/04/02 05:36:08
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: types of numbers in aliquot sequences described visually (see desc.)
Rating: 5
Filesize: 29.12 kB
Downloads: 310
Comments: 0
Ratings: 1
Date added: 2025/12/31 13:26:51
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Party Rave Laser
Rating: 5
Filesize: 23.93 kB
Downloads: 389
Comments: 0
Ratings: 1
Date added: 2011/06/02 01:36:48
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Numberblocks 0-25
Rating: 5
Filesize: 6.14 MB
Downloads: 5632
Comments: 3
Ratings: 1
Date added: 2025/02/14 22:08:58
Made with: Algodoo v2.1.0
Rating: rated 5
download