decimal(explicitPositiveSign:)
Creates a decimal format with custom handling of the numerical sign.
Declaration
static func decimal(explicitPositiveSign: Bool = false) -> OSLogIntegerFormattingParameters
- explicitPositiveSign:
A Boolean value that indicates whether to display a plus (
+) sign in front of positive integers.
Return Value
A custom decimal format for integers.