Doesn't look like anyone's going to vote under 80 (or == 80), so rounding up it is :-)
On Thu, Jun 18, 2009 at 3:05 PM, Pinaki Poddar <[email protected]> wrote: > > > Which of BigDecimal.ROUND_* constants will we use for rounding? :) > > if (n1>n2) ROUND_UP > if (n1<n2) ROUND_DOWN > if (n1=n2) ROUND_HALF_UP > > where n1 = no. of votes > 80 > n2 = no. of votes < 80 > > Now we need a computer program to count votes ;) > > > ----- > Pinaki > -- > View this message in context: > http://n2.nabble.com/-VOTE-%3A-Extend-the-source-test-code-line-width-to-120-chars-tp3113489p3115521.html > Sent from the OpenJPA Developers mailing list archive at Nabble.com. > >
