Java Number Format Pattern getPriceFormat()

Here you can find the source of getPriceFormat()

Description

get Price Format

License

Open Source License

Declaration

public static DecimalFormat getPriceFormat() 

Method Source Code

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

import java.text.DecimalFormat;

public class Main {
    private static final DecimalFormat PRICE_FORMAT = new DecimalFormat(
            "#0.00");

    public static DecimalFormat getPriceFormat() {
        return PRICE_FORMAT;
    }//  ww  w. j  a va 2 s .com
}

Related

  1. getNumberFormatter(final String format)
  2. getNumberFraction2Format(final Locale locale)
  3. getNumberOfDays(String year, String month)
  4. getNumberStyleAsInt(String style)
  5. getOneFractionDigitNumberFormat()
  6. getScientificFormatter(int precision)
  7. getSeparator(final NumberFormat format)
  8. getStrFormatTwoPoint(float param)
  9. getTeamIDFormat()