Example usage for java.text NumberFormat isParseIntegerOnly

List of usage examples for java.text NumberFormat isParseIntegerOnly

Introduction

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

Prototype

public boolean isParseIntegerOnly() 

Source Link

Document

Returns true if this format will parse numbers as integers only.

Usage

From source file:Main.java

public static void main(String[] args) throws Exception {
    NumberFormat numberFormat = NumberFormat.getPercentInstance(Locale.CANADA);
    System.out.println(numberFormat.isParseIntegerOnly());
}