Money Money is a Swift framework for iOS, watchOS, tvOS and OS X. It provides types and functionality to represent, calculate and convert money in the 298 ISO currencies.
let pounds: GBP = 99.99 let euros: EUR = 149.50 print(“You have \(pounds / 2) and \(euros + 30)”)You have £ 50.00 and € 179.50
Because the currencies are typed, it means that they cannot be combined together.
let money = pounds + euros
Source: danthorpe/Money