commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEXT-57) Formatting numbers
Date Tue, 10 Jan 2017 09:24:58 GMT

    [ https://issues.apache.org/jira/browse/TEXT-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15814451#comment-15814451
] 

Gilles commented on TEXT-57:
----------------------------

Perhaps it is not in the scope of TEXT (which has yet to have a more operational definition
than "something that does not belong to LANG"), but {{Locale}}, notation and table layout
are not first thoughts when defining the matrix concept and how to use it to solve problems
(that is the scope of MATH).

MATH-833 is four and a half years old.

MATH itself does not use number formatting, except to define other formats! Which proves the
validity of proposing that the implementations belong in a component focused on displaying
strings and sequences of strings.


> Formatting numbers
> ------------------
>
>                 Key: TEXT-57
>                 URL: https://issues.apache.org/jira/browse/TEXT-57
>             Project: Commons Text
>          Issue Type: Wish
>            Reporter: Gilles
>            Priority: Minor
>              Labels: api, scope
>             Fix For: 1.x
>
>
> "Commons Math" contains formatting classes whose purpose are to beautify the printout
of such objects as "complex number" and "matrix" instances.
> I suggest that such functionality would be a better fit for "Commons Text".
> Rationale is that it is an endeavour unto itself rather than something which other components
can easily implement themselves, aside from their "core business".
> As an example, in "Commons Math", there was an issue in that fixed precision was maintained
in numbers close to 0, leading to meaningless error messages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message