Pi to user-specified decimal places

Log in to Vote
4 Votes • 1 Comment
I've completed the Goodie tutorials and I wanted to prepare my own Instant Answer Goodie.

I thought of returning a value for 'pi' to a user-specified number of decimal places.

For example:

A search query for 'pi 7' would return 3.1415926.

Any thoughts, comments or support will be greatly appreciated!
For 'pi' I was going to use Math::Trig but it has a limited number of places.
• posted 4 years and 1 month ago Under Review

A PR has been made and is under review: https://github.com/duckduckgo/zeroclicki...
posted by Moollaza Staff4 years and 1 month ago Link