Example usage for java.text NumberFormat isGroupingUsed

List of usage examples for java.text NumberFormat isGroupingUsed

Introduction

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

Prototype

public boolean isGroupingUsed() 

Source Link

Document

Returns true if grouping is used in this format.

Usage

From source file:Main.java

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