Round up using the ceil function. Round down using the floor and fix functions. Example y floor t rounds each element of the duration array t to the nearest number of seconds less than or equal to that element.