Example usage for java.text DecimalFormat getMinimumIntegerDigits

List of usage examples for java.text DecimalFormat getMinimumIntegerDigits

Introduction

In this page you can find the example usage for java.text DecimalFormat getMinimumIntegerDigits.

Prototype

@Override
public int getMinimumIntegerDigits() 

Source Link

Document

Gets the minimum number of digits allowed in the integer portion of a number.

Usage

From source file:Main.java

public static void main(String[] argv) throws Exception {
    DecimalFormat format = new DecimalFormat();

    System.out.println(format.getMinimumIntegerDigits());

}