Contents

attributed

An attributed format style based on the decimal currency format style.

Declaration

var attributed: Decimal.FormatStyle.Attributed { get }

Discussion

Use this modifier to create a Decimal.FormatStyle.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