Search:

Type: Posts; User: MaxBodine

Search: Search took 0.18 seconds.

  1. Re: take a double, then round decimal to either to .0 or .5 only

    I would want .25 to be .5 too
  2. take a double, then round decimal to either to .0 or .5 only

    Hi,

    I have formated a double like this 9.255 will display 9.3

    public double rdTwoDecimal(double d)
    {
    DecimalFormat twoD = new DecimalFormat("#.0");
    return...
Results 1 to 2 of 2