commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <>
Subject [jira] [Commented] (TEXT-57) Formatting numbers
Date Mon, 09 Jan 2017 14:59:58 GMT


Rob Tompkins commented on TEXT-57:

It makes sense to me to have some flavor of Number formatter for printing out ComplexNumbers
and Matrix instances. This does open the question about dependency.

Even if we don't go that route, we probably should have form of NumberFormatter that's better
than the default Java one.

In either case we'll probably want some form of internationalization which we're waiting on,
so I'd suggest this go in any later release than 1.0.

> Formatting numbers
> ------------------
>                 Key: TEXT-57
>                 URL:
>             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

View raw message