Instance Methodswift 6.0.3FoundationInternationalization
format(_:)
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
func format(_ value: Value) -> String
func format(_ value: Value) -> String
s30FoundationInternationalization24FloatingPointFormatStyleV6formatySSxF
What are these?17C3V
where Value:BinaryFloatingPoint
import FoundationInternationalization
struct FloatingPointFormatStyle<Value> where Value : BinaryFloatingPoint
@frozen struct String
A Unicode string value that is a collection of characters.
protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint
A radix-2 (binary) floating-point type.
var parseStrategy: FloatingPointParseStrategy<FloatingPointFormatStyle<Value>> { get }
func consuming(_ input: String, startingAt index: String.Index, in bounds: Range<String.Index>) throws -> (upperBound: String.Index, output: Value)?
func locale(_ locale: Locale) -> FloatingPointFormatStyle<Value>
struct Attributed
struct Currency
struct Percent
typealias RegexOutput = Value