extension Int { // MARK: Computed /// The amount of euro cents as a price: whole euros bare (`€240`), anything else to the cent (`€12.50`). var euros: String { let cents = self % 100 return isMultiple(of: 100) ? "€\(self / 100)" : "€\(self / 100).\(cents < 10 ? "0" : "")\(cents)" } }