Contents

CMTimeRoundingMethod.roundHalfAwayFromZero

Rounds half away from zero.

Declaration

case roundHalfAwayFromZero

Discussion

This method rounds toward zero if the absolute value is less than 0.5, and away from 0 if it’s greater than or equal to 0.5.

This is the default rounding method.

See Also

Rounding Methods