---
title: "isEqual(to:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/decimal/isequal(to:)"
---

# isEqual(to:)

Indicates whether this decimal is equal to the specified one.

## Declaration

```swift
func isEqual(to other: Decimal) -> Bool
```

## See Also

### Comparing decimals

- [isLess(than:)](foundation/decimal/isless(than:).md)
- [isLessThanOrEqualTo(_:)](foundation/decimal/islessthanorequalto(_:).md)
- [isTotallyOrdered(belowOrEqualTo:)](foundation/decimal/istotallyordered(beloworequalto:).md)
- [distance(to:)](foundation/decimal/distance(to:).md)
- [advanced(by:)](foundation/decimal/advanced(by:).md)
- [NSDecimalCompare(_:_:)](foundation/nsdecimalcompare(_:_:).md)
