---
title: CMTimeRoundingMethod.roundTowardPositiveInfinity
framework: coremedia
role: symbol
role_heading: Case
path: coremedia/cmtimeroundingmethod/roundtowardpositiveinfinity
---

# CMTimeRoundingMethod.roundTowardPositiveInfinity

Rounds toward positive infinity.

## Declaration

```swift
case roundTowardPositiveInfinity
```

## Discussion

Discussion This method rounds toward positiveInfinity if the fraction isn’t equal to 0.

## See Also

### Rounding Methods

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