---
title: "isTotallyOrdered(belowOrEqualTo:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/decimal/istotallyordered(beloworequalto:)"
---

# isTotallyOrdered(belowOrEqualTo:)

Returns a Boolean value indicating whether this instance should precede the given value in an ascending sort.

## Declaration

```swift
func isTotallyOrdered(belowOrEqualTo other: Decimal) -> Bool
```

## See Also

### Comparing decimals

- [isEqual(to:)](foundation/decimal/isequal(to:).md)
- [isLess(than:)](foundation/decimal/isless(than:).md)
- [isLessThanOrEqualTo(_:)](foundation/decimal/islessthanorequalto(_:).md)
- [distance(to:)](foundation/decimal/distance(to:).md)
- [advanced(by:)](foundation/decimal/advanced(by:).md)
- [NSDecimalCompare(_:_:)](foundation/nsdecimalcompare(_:_:).md)
