fractional(_:)
Creates a custom format style representing the fractional seconds component of a date.
Declaration
static func fractional(_ val: Int) -> Date.FormatStyle.Symbol.SecondFractionParameters
- val:
Length of the string representation of the fractional seconds component.
Return Value
Returns the numerical representation of the fractional component of the second.