Avatar
Avatar
Iceman
@swift-6.0.3 @swift-5.10.1 import Foundation for _ in 0...10 { let locale = Locale.availableIdentifiers.map { Locale(identifier: $0) } .first { $0.currencyCode == "JPY" } print(locale?.currencySymbol ?? "nil") } (edited)
¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ (edited)