Static Methodswift 6.0.3FoundationInternationalization->_StringProcessing
localizedDecimal(locale:)
Creates a regex component to match a localized number string and capture it as a Decimal
.
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
static func localizedDecimal(locale: Locale) -> Self
Parameters
- locale
The locale with which the string is formatted.
Returns
A RegexComponent
to match a localized number string.