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


Groups > comp.lang.java.programmer > #35909 > unrolled thread

Re: "Double.toString"

Started byLothar Kimmeringer <news200709@kimmeringer.de>
First post2016-11-20 22:43 +0100
Last post2016-11-20 19:53 -0500
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: "Double.toString" Lothar Kimmeringer <news200709@kimmeringer.de> - 2016-11-20 22:43 +0100
    Re: "Double.toString" Arne Vajhøj <arne@vajhoej.dk> - 2016-11-20 19:53 -0500

#35909 — Re: "Double.toString"

FromLothar Kimmeringer <news200709@kimmeringer.de>
Date2016-11-20 22:43 +0100
SubjectRe: "Double.toString"
Message-ID<t6pwx3gstojo.dlg@kimmeringer.de>
Stefan Ram wrote:

>   How could I have missed this method all those years?
>   Or did I know it once and my memory failed on me?

It was added quite some time ago and it's one good example
of things being added to the JDK that got missed. Another
example is the Arrays and Collection util classes that took
a while to get recognized by me.

>   Have you been aware of this static toString method? 
>   Is it a "well-known", prominent method to you?

I commonly use it for constructing strings out of primitive
doubles since I changed my Eclipse-settings to regard
autoboxing as an error.


Cheers, Lothar
-- 
Lothar Kimmeringer                E-Mail: spamfang@kimmeringer.de
               PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
                 questions!

[toc] | [next] | [standalone]


#35911

FromArne Vajhøj <arne@vajhoej.dk>
Date2016-11-20 19:53 -0500
Message-ID<o0tghb$1rek$1@gioia.aioe.org>
In reply to#35909
On 11/20/2016 4:43 PM, Lothar Kimmeringer wrote:
> Stefan Ram wrote:
>>   How could I have missed this method all those years?
>>   Or did I know it once and my memory failed on me?
>
> It was added quite some time ago and it's one good example
> of things being added to the JDK that got missed. Another
> example is the Arrays and Collection util classes that took
> a while to get recognized by me.

Is was actually in 1.02 (the first stable release):

http://web.mit.edu/java_v1.0.2/www/javadoc/java.lang.Double.html#toString(double)

Arne

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web