]> granicus.if.org Git - icu/commitdiff
ICU-9936 Improved API descriptions for DecimalFormat set min/max significant digits.
authorAndy Heninger <andy.heninger@gmail.com>
Fri, 28 Jun 2013 21:12:31 +0000 (21:12 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Fri, 28 Jun 2013 21:12:31 +0000 (21:12 +0000)
X-SVN-Rev: 33869

icu4c/source/i18n/unicode/decimfmt.h

index 80385ee0bd3d15ea3c311c218a2e47f4919b5368..48122a25580c30a6cb0ba61481f145e4c219e22f 100644 (file)
@@ -1784,8 +1784,10 @@ public:
      * Sets the minimum number of significant digits that will be
      * displayed.  If <code>min</code> is less than one then it is set
      * to one.  If the maximum significant digits count is less than
-     * <code>min</code>, then it is set to <code>min</code>. This
-     * value has no effect unless areSignificantDigits() returns true.
+     * <code>min</code>, then it is set to <code>min</code>.
+     * This function also enables the use of significant digits
+     * by this formatter - areSignificantDigitsUsed() will return TRUE.
+     * @see #areSignificantDigitsUsed
      * @param min the fewest significant digits to be shown
      * @stable ICU 3.0
      */
@@ -1796,8 +1798,9 @@ public:
      * displayed.  If <code>max</code> is less than one then it is set
      * to one.  If the minimum significant digits count is greater
      * than <code>max</code>, then it is set to <code>max</code>.
-     * This value has no effect unless areSignificantDigits() returns
-     * true.
+     * This function also enables the use of significant digits
+     * by this formatter - areSignificantDigitsUsed() will return TRUE.
+     * @see #areSignificantDigitsUsed
      * @param max the most significant digits to be shown
      * @stable ICU 3.0
      */