Decimal.FormatStyle.Percent.FormatInput
typealias · iOS 15.0+ · SDK 27.1
typealias FormatInput = DecimalThe type this format style accepts as input. Swift type inference uses this value to determine which static accessors are available at a given call point. For example, when you format an `Int32`, you can use the static `number` property that provides a `IntegerFormatStyle<Int32>`, as seen in the following example. This works because the style's input type `IntegerFormatStyle.FormatInput` is a `BinaryInteger` generically constrained to the `Int32` type. ```swift let perihelionDistanceToSunInKm: Int32 = 147098291 perihelionDistanceToSunInKm.formatted(.number .notation(.scientific)) // "1.470983E8" ```
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.