Contents

decimal(explicitPositiveSign:)

Creates a decimal format with custom handling of the numerical sign.

Declaration

static func decimal(explicitPositiveSign: Bool = false) -> OSLogIntegerFormatting

Parameters

  • 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.

See Also

Creating a Custom Integer Format