Example usage for java.text NumberFormat getMinimumFractionDigits

List of usage examples for java.text NumberFormat getMinimumFractionDigits

Introduction

In this page you can find the example usage for java.text NumberFormat getMinimumFractionDigits.

Prototype

public int getMinimumFractionDigits() 

Source Link

Document

Returns the minimum number of digits allowed in the fraction portion of a number.

Usage

From source file:Main.java

public static void main(String[] args) throws Exception {
    NumberFormat numberFormat = NumberFormat.getIntegerInstance();
    System.out.println(numberFormat.getMinimumFractionDigits());
}