Instance Methodswift 6.0.3FoundationInternationalization
grouping(_:)
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
func grouping(_ group: FloatingPointFormatStyle<Value>.Configuration.Grouping) -> FloatingPointFormatStyle<Value>
func grouping(_ group: FloatingPointFormatStyle<Value>.Configuration.Grouping) -> FloatingPointFormatStyle<Value>
s30FoundationInternationalization24FloatingPointFormatStyleV8groupingyACyxGAA06NumbereF13ConfigurationO8GroupingVF
What are these?4MYY0
import FoundationInternationalization
struct FloatingPointFormatStyle<Value> where Value : BinaryFloatingPoint
typealias Configuration = NumberFormatStyleConfiguration
struct Grouping
init(from decoder: any Decoder) throws
init(locale: Locale = .autoupdatingCurrent)
var attributed: FloatingPointFormatStyle<Value>.Attributed { get }
var locale: Locale
func decimalSeparator(strategy: FloatingPointFormatStyle<Value>.Configuration.DecimalSeparatorDisplayStrategy) -> FloatingPointFormatStyle<Value>
func notation(_ notation: FloatingPointFormatStyle<Value>.Configuration.Notation) -> FloatingPointFormatStyle<Value>
func precision(_ p: FloatingPointFormatStyle<Value>.Configuration.Precision) -> FloatingPointFormatStyle<Value>
func rounded(rule: FloatingPointFormatStyle<Value>.Configuration.RoundingRule = .toNearestOrEven, increment: Double? = nil) -> FloatingPointFormatStyle<Value>
func scale(_ multiplicand: Double) -> FloatingPointFormatStyle<Value>
func sign(strategy: FloatingPointFormatStyle<Value>.Configuration.SignDisplayStrategy) -> FloatingPointFormatStyle<Value>