Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3149
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Tue, 19 Apr 2011 16:22:01 -0500 |
| From | Jason S <jasonsavlov@me.com> |
| Newsgroups | comp.lang.java.programmer |
| Date | Tue, 19 Apr 2011 17:22:01 -0400 |
| Message-ID | <2011041917220160122-jasonsavlov@mecom> (permalink) |
| References | <201104182005433244-jasonsavlov@mecom> <iojj2h$4fn$1@news.metronet.hr> <2011041911160346799-jasonsavlov@mecom> <iok936$uh9$2@news.albasani.net> <2011041911200138175-jasonsavlov@mecom> <slrniqrckb.phi.avl@gamma.logic.tuwien.ac.at> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Subject | Re: Double always returning 0.0 |
| User-Agent | Unison/2.1.4 |
| Lines | 30 |
| X-Usenet-Provider | http://www.giganews.com |
| X-Trace | sv3-b9juerj4E5rPjvCEP5Y4kjDvzgF/UsBSuFcPlKB1h8wSv7TWj53zgpEMF65QZ9x/Vh0i/4jnjzXHPcj!e26dEnzG80eF+023L7LM912xNSfuCqYdEwx2Tu1EZEp/VCJ5SS6xlCFcVHxXUqxGPDI= |
| X-Complaints-To | abuse@giganews.com |
| X-DMCA-Notifications | http://www.giganews.com/info/dmca.html |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2314 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3149 |
Show key headers only | View raw
On 2011-04-19 12:04:27 -0400, Andreas Leitgeb said: > Jason S <jasonsavlov@me.com> wrote: >> On 2011-04-19 11:18:10 -0400, Lew said: >>> Jason S wrote: >>>> Yup, that was the problem. Got it working! (Sort of...) The weight for the cat >>>> keeps turning up as 0.000. >>> What does your code look like now? >> http://web.cs.sunyit.edu/~savlovj/CS249/pg472_8 >> The code is there in full > > > Btw., normally one would throw exceptions rather than exit the > process with System.exit, but even if you really want to exit > the process, you most likely don't want to exit with a zero > exit-status. A zero exit-status from a process is typically > meant as "success", but that obviously isn't the case where > you call System.exit(0). I'm just going by what it says in the textbook. That's what they put there and want us to use. And for the other stuff, I just got back from class; I'm going to look at it in detail in a little bit. Thanks!! I'm starting to understand what's going on. Sometimes it's better to consult professionals than a textbook. -- Jason
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-18 20:05 -0400
Re: Double always returning 0.0 markspace <-@.> - 2011-04-18 17:43 -0700
Re: Double always returning 0.0 Jim <jkorman@alltel.net> - 2011-04-18 20:11 -0500
Re: Double always returning 0.0 Screamin Lord Byron <scre@min.dot> - 2011-04-19 11:02 +0200
Re: Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-19 11:16 -0400
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-19 11:18 -0400
Re: Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-19 11:20 -0400
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-19 11:57 -0400
Re: Double always returning 0.0 Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-04-19 16:04 +0000
Re: Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-19 17:22 -0400
Re: Double always returning 0.0 Screamin Lord Byron <scre@min.dot> - 2011-04-19 19:08 +0200
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-19 14:03 -0400
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-19 14:06 -0400
Re: Double always returning 0.0 Jason S <jason.savlov@gmail.com> - 2011-04-20 13:53 -0400
Re: Double always returning 0.0 Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-04-20 18:06 +0000
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-20 14:11 -0400
Re: Double always returning 0.0 Jason S <jason.savlov@gmail.com> - 2011-04-20 14:19 -0400
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-20 14:29 -0400
[OT] Re: Double always returning 0.0 Stanimir Stamenkov <s7an10@netscape.net> - 2011-04-21 07:30 +0300
Re: Double always returning 0.0 Screamin Lord Byron <scre@min.dot> - 2011-04-19 19:05 +0200
Re: Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-19 13:07 -0400
Re: Double always returning 0.0 Roedy Green <see_website@mindprod.com.invalid> - 2011-04-19 16:30 -0700
csiph-web