---
title: CMTimeRoundingMethod.roundHalfAwayFromZero
framework: coremedia
role: symbol
role_heading: Case
path: coremedia/cmtimeroundingmethod/roundhalfawayfromzero
---

# CMTimeRoundingMethod.roundHalfAwayFromZero

Rounds half away from zero.

## Declaration

```swift
case roundHalfAwayFromZero
```

## Discussion

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

- [CMTimeRoundingMethod.roundAwayFromZero](coremedia/cmtimeroundingmethod/roundawayfromzero.md)
- [CMTimeRoundingMethod.roundTowardZero](coremedia/cmtimeroundingmethod/roundtowardzero.md)
- [CMTimeRoundingMethod.quickTime](coremedia/cmtimeroundingmethod/quicktime.md)
- [CMTimeRoundingMethod.roundTowardPositiveInfinity](coremedia/cmtimeroundingmethod/roundtowardpositiveinfinity.md)
- [CMTimeRoundingMethod.roundTowardNegativeInfinity](coremedia/cmtimeroundingmethod/roundtowardnegativeinfinity.md)
