]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/number_roundingutils.h
ICU-64260.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / number_roundingutils.h
index 66d58bb775bbee77f0be06cb88bf98f33e901a2b..9c2c47b6e41b3151c4068538c8f1415c77f9c402 100644 (file)
@@ -134,8 +134,11 @@ inline bool roundsAtMidpoint(int roundingMode) {
 /**
  * Computes the number of fraction digits in a double. Used for computing maxFrac for an increment.
  * Calls into the DoubleToStringConverter library to do so.
+ *
+ * @param singleDigit An output parameter; set to a number if that is the
+ *        only digit in the double, or -1 if there is more than one digit.
  */
-digits_t doubleFractionLength(double input);
+digits_t doubleFractionLength(double input, int8_t* singleDigit);
 
 } // namespace roundingutils