Java Number Format Pattern resetDecimalFormat()

Here you can find the source of resetDecimalFormat()

Description

reset Decimal Format

License

Open Source License

Declaration

public static void resetDecimalFormat() 

Method Source Code

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

import java.text.DecimalFormat;

public class Main {
    private static DecimalFormat decimalFormat;

    public static void resetDecimalFormat() {
        decimalFormat = new DecimalFormat("#.#####");
    }// www  . j a v a2 s .com
}

Related

  1. isDecimalFormatValid(final String pattern)
  2. matchOptionalFormatting(Number number, String formatting, StringBuffer outputTo)
  3. normalizeNumberFormat(NumberFormat numberFormat, int scale, int precision)
  4. objectToString(Object obj, DecimalFormat fmt)
  5. print(float[] array, NumberFormat nf)
  6. resetDecimalFormatByLocale(Locale locale)
  7. roundNumber(Number number, DecimalFormat format)
  8. stringFormat(BigDecimal value)
  9. stringToReais(String unformatted, boolean comSimbolo)