[ https://issues.apache.org/jira/browse/TEXT-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363614#comment-17363614 ]
Gilles Sadowski commented on TEXT-207: -------------------------------------- {quote}Commons Geometry would depend on Commons Text? {quote} Only the [IO module(s)|https://gitbox.apache.org/repos/asf?p=commons-geometry.git;a=tree;f=commons-geometry-io-core;h=23a56bdf8c53b059a2aaf9cb010019ac12e266b7;hb=HEAD]. > Include DoubleFormats utility from commons-geometry > --------------------------------------------------- > > Key: TEXT-207 > URL: https://issues.apache.org/jira/browse/TEXT-207 > Project: Commons Text > Issue Type: New Feature > Reporter: Matt Juntunen > Priority: Major > > commons-geometry currently contains a > [DoubleFormats|https://github.com/apache/commons-geometry/blob/master/commons-geometry-io-core/src/main/java/org/apache/commons/geometry/io/core/utils/DoubleFormats.java] > utility class in the {{commons-geometry-io-core}} module that produces > standardized string representations of doubles for use in text-based data > formats. It has the following features: > - It is completely thread-safe. > - It produces string in scientific, engineering, plain, or mixed (plain or > scientific depending on value) formats. > - Performance is comparable to {{DecimalFormat}} and {{BigDecimal}}. > As mentioned on the dev mailing list, I believe that this class has broader > applicability than just geometric data formats and would be a good fit for > commons-text. -- This message was sent by Atlassian Jira (v8.3.4#803005)