I need a software or a command line to display the irrational number `22/7`

indefinitely.

When i use `calc`

, I'm shown a finite number of decimal places:

```
~$ calc 22/7
~3.14285714285714285714
```

How can I force my PC to calculate forever?

```
bc <<< 'scale=100;22/7'
```

bc is Best Calculator and is normally installed on ubuntu

`scale=<num>`

means the number of digits you want after the comma
`22/7`

you calculation

Not the answer you're looking for? Browse other questions tagged

.
2more comments