Java Double Number Format format(double b)

Here you can find the source of format(double b)

Description

format

License

Open Source License

Declaration

public static double format(double b) 

Method Source Code

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

public class Main {
    public static double format(double b) {
        return Math.round(b * 100) / 100.0;
    }//w  w w .  ja  v a 2s  . co m
}

Related

  1. convertDouble(double damage)
  2. doubleFormat(Double d)
  3. doubleFormat(double d)
  4. doubleFormat(double number)
  5. doubleFormat(double val, boolean hiRes)
  6. format(double d, int decimals)
  7. format(Double decimal)
  8. format(double num, int n)
  9. format(double number)