Java Double Number Round round_double(double d)

Here you can find the source of round_double(double d)

Description

roundouble

License

Open Source License

Declaration

public static int round_double(double d) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int round_double(double d) {
        return (int) Math.round(d);
    }/*  w ww . j  a v  a 2s .c o  m*/
}

Related

  1. round2(double num)
  2. round2(final double arg)
  3. round2(int a, int preserveDigits)
  4. round2Places(Double input)
  5. round5(final double value)
  6. round_nearestmultipleof5(double value)
  7. roundAndScale(double startValue, int places)
  8. roundAngle(double a, long n)
  9. roundAtDecimals(double number, int deci)