RSS Forums RSS
Please support our C advertiser: Programming Forums

Random Double Generation With Precision?

Join Date: Jul 2005
Posts: 55
Reputation: shmay is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
shmay shmay is offline Offline
Junior Poster in Training

Re: Random Double Generation With Precision?

  #5  
Apr 13th, 2007
Completely understood. Perhaps that is what my teacher wants, but the wording suggests otherwise. The class is nearly done, and I don't think he would be asking something as simple as formatting a double.

Since the function doesn't print it, I think he wants us to generate a random double (don't know how to do that) and somehow manipulate it so that it only randomizes for a certain amount of places past the decimal. If that is even possible.

Ugh, does that even make sense? Maybe his wording is off? He always words things poorly.

Read the question again, he says nothing about printing it.

Thanks for the help, either way.
Reply With Quote  
All times are GMT -4. The time now is 7:36 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC