Java Number Round roundOffAmt(double dAmt)

Here you can find the source of roundOffAmt(double dAmt)

Description

round Off Amt

License

Open Source License

Declaration

public static double roundOffAmt(double dAmt) 

Method Source Code

//package com.java2s;

public class Main {
    public static double roundOffAmt(double dAmt) {
        return Math.round(dAmt * 10000000000.0) / 10000000000.0;
    }/*ww  w.  j a  v  a  2 s .c om*/
}

Related

  1. roundNumber(float input, float rounding)
  2. roundNumber(String n)
  3. roundNumberTo(double value, int decimals)
  4. roundNumberToDouble(double value, int decimals)
  5. roundOff(double fraction, int precision)
  6. roundOffFileCount(int fileCount)
  7. roundOffTo2DecPlaces(double val)
  8. roundOffValues(double[] doubles)
  9. roundPhred(final double value, final double phredScorePrecision)