---
title: IntFromDoubleResolver
framework: appintents
role: symbol
role_heading: Structure
path: appintents/intfromdoubleresolver
---

# IntFromDoubleResolver

A resolver that converts a double into an integer using the specified rounding rule and validates the result is within the parameter’s inclusive range.

## Declaration

```swift
struct IntFromDoubleResolver
```

## Topics

### Creating the resolver

- [init(roundingRule:)](appintents/intfromdoubleresolver/init(roundingrule:).md)

### Getting the rounding rule

- [roundingRule](appintents/intfromdoubleresolver/roundingrule.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RangeCheckingResolver](appintents/rangecheckingresolver.md)
- [Resolver](appintents/resolver.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Integer resolution

- [IntFromStringResolver](appintents/intfromstringresolver.md)
- [IntResolver](appintents/intresolver.md)
