Pi to user-specified decimal places

Log in to Vote
4
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!
Source:
For 'pi' I was going to use Math::Trig but it has a limited number of places.
• posted 3 years and 10 months ago Under Review

Moollaza
A PR has been made and is under review: https://github.com/duckduckgo/zeroclicki...
posted by Moollaza Staff3 years and 10 months ago Link