Contents

hybrid

A hybrid option that changes the format according to the size of the number.

Declaration

static var hybrid: OSLogFloatFormatting { get }

Mentioned in

Discussion

This option is equivalent to the %g option in fprintf. It behaves like the fixed option when the number is close to 1.0, and like the exponential option when the number has a large exponent.

See Also

Getting the Standard Formats