openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: [OFF] [VOTE]: Extend the source/test code line width to 120 chars
Date Thu, 18 Jun 2009 20:12:31 GMT
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 <ppoddar@apache.org> 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.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message