Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3166

Re: Double always returning 0.0

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Double always returning 0.0
Date Wed, 20 Apr 2011 14:29:35 -0400
Organization albasani.net
Lines 23
Message-ID <ion8m9$oph$1@news.albasani.net> (permalink)
References <201104182005433244-jasonsavlov@mecom> <iojj2h$4fn$1@news.metronet.hr> <2011041911160346799-jasonsavlov@mecom> <iok936$uh9$2@news.albasani.net> <2011041911200138175-jasonsavlov@mecom> <iokioc$kmi$1@news.albasani.net> <2011042013535527735-jasonsavlov@gmailcom> <slrniqu851.phi.avl@gamma.logic.tuwien.ac.at> <2011042014193994923-jasonsavlov@gmailcom>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net YxqUmrlg7OOl8t/4adxtC/DyNGRN4E5143tmgIGge4Zf2hRrJGvHXcRnpAiAXsU4Txxp3v9IBQnQviw5+DdtobXxmOgrnZztiBNrWr/Zu46EWyCTJJAb9KjKB2Bb8xfE
NNTP-Posting-Date Wed, 20 Apr 2011 18:29:29 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="Q0gJ4gs+9jQqH3W96PjZf8TLFWCaWmqqUH9MplfzZOqvOPLx0TiTtEsk7gvTd7X+Xygv+R5FoKGdUqDrPohr/NrIw2mjnvacVe8h6hUBO5nVGuHIKrY3+ol2odIqx+22"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8
In-Reply-To <2011042014193994923-jasonsavlov@gmailcom>
Cancel-Lock sha1:6/G+IZdrBky/05I/YiXI6lca/W0=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3166

Show key headers only | View raw


Jason S wrote:
> 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 [sic]: sorry about the top posting

Regarding:

   public Cat() {
     super();
   }

The call to the 'super()' constructor is unnecessary, albeit harmless.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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