You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2015/09/01 22:27:45 UTC

[jira] [Created] (TINKERPOP3-824) Do we need runtime BigDecimal in more places?

Marko A. Rodriguez created TINKERPOP3-824:
---------------------------------------------

             Summary: Do we need runtime BigDecimal in more places?
                 Key: TINKERPOP3-824
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-824
             Project: TinkerPop 3
          Issue Type: Improvement
            Reporter: Marko A. Rodriguez


[~mhfrantz] recently made {{Compare}} use {{BigDecimal}} so we don't destroy the precision of the underlying {{Number}} object.

I think we might need this sort of conversion in more places: {{Operator}} and {{SackFunctions}}.

Perhaps a {{NumberHelper}} might be a nice class to have that does the dirty work so that future work with numbers is easy and consistently patterned.



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