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