DecimalFormat.getMultiplier

DecimalFormat.getMultiplier

Class Overview | Class Members | This Package | All Packages

Syntax
public int getMultiplier()
Description
Get the multiplier for use in percent, permill, etc. For a percentage, set the suffixes to have "%" and the multiplier to be 100. (For Arabic, use arabic percent symbol). For a permill, set the suffixes to have "?" and the multiplier to be 1000.

Examples: with 100, 1.23 -> "123", and "123" -> 1.23