* @param minSignificantDigits
* The number of significant figures to guarantee.
* @return A Precision for chaining or passing to the NumberFormatter rounding() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 1.
* @stable ICU 60
* @see NumberFormatter
*/
* @param maxSignificantDigits
* Round the number to no more than this number of significant figures.
* @return A Precision for chaining or passing to the NumberFormatter rounding() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 1.
* @stable ICU 60
* @see NumberFormatter
*/
* The minimum and maximum number of numerals to display after the decimal separator
* (rounding if too long or padding with zeros if too short).
* @return A FractionPrecision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 0.
* @stable ICU 60
* @see NumberFormatter
*/
* The minimum number of numerals to display after the decimal separator (padding with
* zeros if necessary).
* @return A FractionPrecision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 0.
* @stable ICU 60
* @see NumberFormatter
*/
* The maximum number of numerals to display after the decimal mark (rounding if
* necessary).
* @return A FractionPrecision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 0.
* @stable ICU 60
* @see NumberFormatter
*/
* The maximum number of numerals to display after the decimal separator (rounding if
* necessary).
* @return A FractionPrecision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 0.
* @stable ICU 60
* @see NumberFormatter
*/
* The minimum and maximum number of significant digits to display (rounding if too long
* or padding with zeros if too short).
* @return A Precision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 1.
* @stable ICU 62
* @see NumberFormatter
*/
* @param minSignificantDigits
* The minimum number of significant digits to display (padding with zeros if too short).
* @return A Precision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 1.
* @stable ICU 62
* @see NumberFormatter
*/
* @param maxSignificantDigits
* The maximum number of significant digits to display (rounding if too long).
* @return A Precision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 1.
* @stable ICU 62
* @see NumberFormatter
*/
* @param maxSignificantDigits
* The maximum number of significant digits to display (rounding if necessary).
* @return A Precision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the input number is too big or smaller than 1.
* @stable ICU 62
* @see NumberFormatter
*/
* @param roundingIncrement
* The increment to which to round numbers.
* @return A Precision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if the rounding increment is null or non-positive.
* @stable ICU 60
* @see NumberFormatter
*/
* Either STANDARD (for digital transactions) or CASH (for transactions where the rounding
* increment may be limited by the available denominations of cash or coins).
* @return A CurrencyPrecision for chaining or passing to the NumberFormatter precision() setter.
+ * @throws IllegalArgumentException if currencyUsage is null.
* @stable ICU 60
* @see NumberFormatter
*/