Java Double Number Round round(double val)

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

Description

round

License

Open Source License

Declaration

private static int round(double val) 

Method Source Code

//package com.java2s;

public class Main {
    private static int round(double val) {
        return (int) Math.round(val);
    }/*from   w w  w .j av  a  2 s . co  m*/
}

Related

  1. Round(double Rval, int Rpl)
  2. round(double toRound)
  3. round(double v)
  4. round(double v, int precision)
  5. round(double val)
  6. round(double val)
  7. round(double val, int decimalHouses)
  8. round(double val, int decimalPlaces)
  9. round(double val, int places)