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: Wed, 20 Apr 2011 13:19:39 -0500 From: Jason S Newsgroups: comp.lang.java.programmer Date: Wed, 20 Apr 2011 14:19:39 -0400 Message-ID: <2011042014193994923-jasonsavlov@gmailcom> References: <201104182005433244-jasonsavlov@mecom> <2011041911160346799-jasonsavlov@mecom> <2011041911200138175-jasonsavlov@mecom> <2011042013535527735-jasonsavlov@gmailcom> 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: 22 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-MVQkYUNGLJNHRow8fdiM34Lkl1wiN5i7eBUtInkzJp3bn4Wn2YqphMz18c8lg9In+DPtI2mOnNMVVbC!2PesM0fFiIP6ZCc78El7jscbslwcVx1NuKFAezPJXjvLiBHKwYqLFsfHZn7NuNhKs6ffkYc= 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: 2107 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3165 On 2011-04-20 14:06:25 -0400, Andreas Leitgeb said: > Jason S wrote: >> Thank you! I understand how that works now. Except it still outputs >> 0.000 for the cat's weight. Everything else works though. > > If you've now removed the weight field in Dog and Cat (and only left > the one in Pet), and you still see zero weights, then upload the new > versions to that url, and repost the URL. Nevermind, it works. Either the value 0.002 mentioned for the cat's acepromazine is a typo, or my cat's weight is too light to return anything more than what would be formatted with the decimalformat :p so it works. http://web.cs.sunyit.edu/~savlovj/CS249/pg472_8. Thanks for the help guys! Highly appreciated :) And lew: sorry about the top posting -- Jason