Android Double Round round(double value)

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

Description

round

Declaration

public static double round(double value) 

Method Source Code

//package com.java2s;

public class Main {
    public static double round(double value) {
        return ((int) (value * 10) / 10.0);
    }/*from  w  w  w.  j ava 2  s  .co  m*/
}

Related

  1. round(double d, int decimalPlace)
  2. round(double d, int decimalPlace)
  3. round(double val, int numberOfDigitsAfterDecimal)
  4. round(double what, int howmuch)
  5. roundTwoDecimals(double d)