# \#fractions

**URL:** https://forums.swift.org/tag/fractions/946.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Swift Rational - Swift package for working with rational numbers](https://forums.swift.org/t/swift-rational-swift-package-for-working-with-rational-numbers/69344)

<div class="topic-metadata">

**Author:** [@abdel-17](https://forums.swift.org/u/abdel-17)\
**Replies:** 41\
**Last updated:** [January 19, 2024, 6:05pm UTC](https://forums.swift.org/t/swift-rational-swift-package-for-working-with-rational-numbers/69344 "2024-01-19T18:05:53Z")

</div>

Swift Rational provides the RationalModule module for working with rational numbers in Swift. RationalModule exports the Rational struct. It conforms to standard Swift protocols like AdditiveArithmetic, Numeric, Hashabl…
