---
title: formatted()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/decimal/formatted()
---

# formatted()

Formats the decimal using a default localized format style.

## Declaration

```swift
func formatted() -> String
```

## Return Value

Return Value A string representation of the decimal, formatted according to the default format style.

## See Also

### Formatting decimals

- [formatted(_:)](foundation/decimal/formatted(_:).md)
- [Decimal.FormatStyle](foundation/decimal/formatstyle.md)
