Contents

attributed

An attributed format style based on the floating-point percent format style.

Declaration

var attributed: FloatingPointFormatStyle<Value>.Attributed { get }

Discussion

Use this modifier to create an FloatingPointFormatStyle.Attributed instance, which formats values as AttributedString instances. These attributed strings contain attributes from the AttributeScopes.FoundationAttributes.NumberFormatAttributes attribute scope. Use these attributes to determine which runs of the attributed string represent different parts of the formatted value.

See Also

Creating attributed strings