It's example of array which contains only numbers:
var array = [3.1, 1, 2.2, 5.1, 6, 7.3, 2.1, 9]
EDITED
How to count how many(edited from word 'sum') of elements are in array below / above given number eg. '5.25'?
So answer should be 5 elements are below (3.1, 1, 2.2, 5.1, 2.1) and 3 element are above (6, 7.3, 9)