Instance Propertyswift 6.0.3FoundationInternationalization
parseStrategy
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
var parseStrategy: FloatingPointParseStrategy<FloatingPointFormatStyle<Value>.Percent> { get }
var parseStrategy: FloatingPointParseStrategy<FloatingPointFormatStyle<Value>.Percent> { get }
s30FoundationInternationalization24FloatingPointFormatStyleV7PercentV13parseStrategyAA0cd5ParseI0VyAEyx_GGvp
What are these?2L1Z7
import FoundationInternationalization
struct Percent
struct FloatingPointFormatStyle<Value> where Value : BinaryFloatingPoint
struct FloatingPointParseStrategy<Format> where Format : FormatStyle, Format.FormatInput : BinaryFloatingPoint
init(from decoder: any Decoder) throws
init(locale: Locale = .autoupdatingCurrent)
var attributed: FloatingPointFormatStyle<Value>.Attributed { get }
var locale: Locale
func consuming(_ input: String, startingAt index: String.Index, in bounds: Range<String.Index>) throws -> (upperBound: String.Index, output: Value)?
func decimalSeparator(strategy: FloatingPointFormatStyle<Value>.Percent.Configuration.DecimalSeparatorDisplayStrategy) -> FloatingPointFormatStyle<Value>.Percent
func format(_ value: Value) -> String
func grouping(_ group: FloatingPointFormatStyle<Value>.Percent.Configuration.Grouping) -> FloatingPointFormatStyle<Value>.Percent
func locale(_ locale: Locale) -> FloatingPointFormatStyle<Value>.Percent
func notation(_ notation: FloatingPointFormatStyle<Value>.Percent.Configuration.Notation) -> FloatingPointFormatStyle<Value>.Percent
func precision(_ p: FloatingPointFormatStyle<Value>.Percent.Configuration.Precision) -> FloatingPointFormatStyle<Value>.Percent
func rounded(rule: FloatingPointFormatStyle<Value>.Percent.Configuration.RoundingRule = .toNearestOrEven, increment: Double? = nil) -> FloatingPointFormatStyle<Value>.Percent
func scale(_ multiplicand: Double) -> FloatingPointFormatStyle<Value>.Percent
func sign(strategy: FloatingPointFormatStyle<Value>.Percent.Configuration.SignDisplayStrategy) -> FloatingPointFormatStyle<Value>.Percent
typealias Configuration = NumberFormatStyleConfiguration
typealias RegexOutput = Value