What's value of pie evaluated upto 20 decimal places using float ?Does this returns actual pie's value upto 20 decimal places? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's value of pie evaluated upto 20 decimal places using float ?Does this returns actual pie's value upto 20 decimal places?

21st Jan 2019, 4:34 PM
Ashwini Kumar Singh
2 Answers
+ 5
One way to answer this question: ~ Create a code here in whatever language you mean ~ Set a float to the first 20 digits of pi (easily obtained from Google) ~ Print it
21st Jan 2019, 6:46 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
Language? Relation to coding? Context? Hint: If you're going to downvote something, don't upvote it first. Because the person might actually see it. Invest a bit more time instead and specify what you want to ask!
21st Jan 2019, 4:43 PM
HonFu
HonFu - avatar