Content of percentile2.xq example

import module namespace
excel="http://zorba.io/modules/excel/statistical";

excel:percentile((1, 3, 4, 3, 2, 2, 5, 3, 5), 0.5)