Java Double Number Round round(double dValue)

Here you can find the source of round(double dValue)

Description

round

License

Open Source License

Declaration

public static double round(double dValue) 

Method Source Code

//package com.java2s;
//    it under the terms of the GNU General Public License as published by

public class Main {
    private static double m_dFractionMultiplier;

    public static double round(double dValue) {

        return Math.rint(dValue * m_dFractionMultiplier) / m_dFractionMultiplier;
    }/*from   www. j  av  a  2  s  . c o m*/
}

Related

  1. round(double d, int i)
  2. round(double d, int numDecimal)
  3. round(double d, int p)
  4. round(double d, int precision)
  5. Round(double d, int Rpl)
  6. round(double input)
  7. round(double input, double step)
  8. round(double n)
  9. round(double n, double nd)