---
title: textAttributesForNegativeValues
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/numberformatter/textattributesfornegativevalues
---

# textAttributesForNegativeValues

The text attributes to be used in displaying negative values.

## Declaration

```swift
var textAttributesForNegativeValues: [String : Any]? { get set }
```

## Discussion

Discussion This property is a dictionary that contains the attributes used to display negative values.

## See Also

### Configuring the Display of Numeric Values

- [textAttributesForPositiveValues](foundation/numberformatter/textattributesforpositivevalues.md)
- [attributedStringForZero](foundation/numberformatter/attributedstringforzero.md)
- [textAttributesForZero](foundation/numberformatter/textattributesforzero.md)
- [attributedStringForNil](foundation/numberformatter/attributedstringfornil.md)
- [textAttributesForNil](foundation/numberformatter/textattributesfornil.md)
- [attributedStringForNotANumber](foundation/numberformatter/attributedstringfornotanumber.md)
- [textAttributesForNotANumber](foundation/numberformatter/textattributesfornotanumber.md)
- [textAttributesForPositiveInfinity](foundation/numberformatter/textattributesforpositiveinfinity.md)
- [textAttributesForNegativeInfinity](foundation/numberformatter/textattributesfornegativeinfinity.md)
