Using Swift 3.
I am finding a lot of strange solutions online for checking if a Decimal object is a whole number. Everything feels far more complicated then it needs
Thanks for the comments! Here is what I am using now.
extension Decimal { var isWholeNumber: Bool { return self.isZero || (self.isNormal && self.exponent >= 0) } }