Comment Comment by LeoPanthera On any standard unix system with bc installed - it's preinstalled on most of them, you can calculate pi to $n digits using bc:bc -l <<< "scale=$n; 4*a(1)" parent LeoPanthera 7 years ago
bc -l <<< "scale=$n; 4*a(1)"