Notation
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
struct Notation
struct Notation
s30FoundationInternationalization30NumberFormatStyleConfigurationO8NotationV
What are these?81ASN
import FoundationInternationalization
enum NumberFormatStyleConfiguration
struct DecimalSeparatorDisplayStrategy
struct Grouping
struct Precision
struct SignDisplayStrategy
typealias RoundingRule = FloatingPointRoundingRule
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(from decoder: any Decoder) throws
static var automatic: NumberFormatStyleConfiguration.Notation { get }
static var compactName: NumberFormatStyleConfiguration.Notation { get }
Formats the number with localized prefixes or suffixes corresponding to powers of ten. Rounds to integer while showing at least two significant digits by default. For example, “42.3K” for 42300 for the “en_US” locale.
static var scientific: NumberFormatStyleConfiguration.Notation { get }
var description: String { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.