---
title: attributed
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/decimal/formatstyle/percent/attributed
---

# attributed

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

## Declaration

```swift
var attributed: Decimal.FormatStyle.Attributed { get }
```

## Discussion

Discussion Use this modifier to create an 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

- [Decimal.FormatStyle.Attributed](foundation/decimal/formatstyle/attributed-swift.struct.md)
