I was thinking something in the lines of the code-snippet below which obviously does not work but conveys my intention. This one gives the error message *variable used within its own initial value*.

```
private let formatter = NumberFormatter() {
    formatter.maximumFractionDigits = 6
}

```