Java Double Number Round round(double d)

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

Description

round

License

Open Source License

Declaration

public static double round(double d) 

Method Source Code

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

public class Main {
    public static double round(double d) {
        return Math.round(d * 100D) / 100D;
    }/*from   ww  w  .j av  a  2 s .  co m*/
}

Related

  1. round(double a, int decimal)
  2. round(double a, int rounding_style)
  3. round(double amount)
  4. round(double amt, int digits)
  5. round(double d)
  6. round(double d)
  7. round(double d)
  8. round(double d)
  9. round(double d)