Contents

percent

A style for formatting 16-bit floating-point values as a percent representation.

Declaration

static var percent: FloatingPointFormatStyle<Float16>.Percent { get }

Discussion

Use this type property when the call point allows the use of FloatingPointFormatStyle. You typically do this when calling the formatted methods of types that conform to BinaryFloatingPoint.

See Also

Applying percentage styles for floating-point values