- :null
- :integer
- :floating
median
get median from given collection of numbers
Parameters
median collection :block
Returns
Examples
copyprint median [2 4 5 6 7 2 3] ; 6 print median [1 5 2 3 4 7 9 8] ; 3.5
median collection :block
copyprint median [2 4 5 6 7 2 3] ; 6 print median [1 5 2 3 4 7 9 8] ; 3.5