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

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: 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)

Reply via email to