Double
@frozen
public extension Double
-
Declaration
Swift
func `in`(_ currency: Currency) -> MonetaryAmount
Parameters
currency
The target currency for the amount, e.g.
Currency.USD
Return Value
A
MonetaryAmount
fromself
with the givenCurrency