Hi.
Le ven. 14 mai 2021 à 04:17, Matt Juntunen a écrit :
>
> Hello,
>
> Yes, the JDK definitely has number formatting capabilities. The class that I
> propose moving to text was designed specifically for data IO operations,
> where large numbers of doubles need to be serialized to strings in so
From: Benjamin Marwell
Sent: Thursday, May 13, 2021 1:37 PM
To: Commons Developers List
Subject: Re: [text][geometry] DoubleFormats utility
I'm not a commons committer, but I think it moved to Java 8, where you
already have the same functionality available in the JDK. NumberForma
I'm not a commons committer, but I think it moved to Java 8, where you
already have the same functionality available in the JDK. NumberFormat and
DecimalFormat [1] will do the same already, if I am not mistaken.
Ben
1: https://www.baeldung.com/java-number-formatting
On Thu, 13 May 2021, 17:59
Hello,
For the geometry IO work I did recently, I ended up creating a DoubleFormats
[1] utility class that generates formatters for various floating point string
representations. It creates formatters for plain (straight decimal),
scientific, engineering, and mixed plain and scientific formats.