Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

assignment 1.6  RSS feed

 
Stephanie Grasson
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
My solution to assignment 1.6 works, but I received the comment
"A double does not have the accuracy I require."
with regard to the variable I used to hold total number of grains. I believe of all the basic types, the double is the most accurate. Can anyone point me in the direction of a more accurate type? Thanks in advance.
 
paul wheaton
Trailboss
Posts: 22261
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the assignment again. At the bottom it says "To complete this assignment, you will need to find a class in the Java standard library that you have not used yet. The search for this class is the real meat of this assignment!"

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!