diff --git a/Resources/ISO4217.csv b/Resources/ISO4217.csv index 76b3a19..0b5aa82 100644 --- a/Resources/ISO4217.csv +++ b/Resources/ISO4217.csv @@ -158,4 +158,4 @@ LESOTHO,Rand,ZAR,710,2,, ZAMBIA,Zambian Kwacha,ZMW,967,2,, ZIMBABWE,Zimbabwe Dollar,ZWL,932,2,, ,Code reserved for testing,XTS,963,1,, -,No currency,XXX,999,2,, +,No currency,XXX,999,0,, diff --git a/Sources/Currency/ISOCurrencies.swift b/Sources/Currency/ISOCurrencies.swift index f1acded..f7a0ac8 100644 --- a/Sources/Currency/ISOCurrencies.swift +++ b/Sources/Currency/ISOCurrencies.swift @@ -2252,7 +2252,7 @@ public struct XXX: CurrencyProtocol, CurrencyMetadata { public static var name: String { return "No currency" } public static var alphabeticCode: String { return "XXX" } public static var numericCode: UInt16 { return 999 } - public static var minorUnits: UInt8 { return 2 } + public static var minorUnits: UInt8 { return 0 } public var minorUnits: Int64 { return self._minorUnits }