From: Shane Carr Date: Thu, 19 Apr 2018 00:14:17 +0000 (+0000) Subject: ICU-13700 APIDoc tweaks for getMultiplierScale/setMultiplierScale. X-Git-Tag: release-62-rc~200^2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e41837217b1120d950bfe8bf47b40baf35be8d6;p=icu ICU-13700 APIDoc tweaks for getMultiplierScale/setMultiplierScale. X-SVN-Rev: 41247 --- diff --git a/icu4c/source/i18n/unicode/decimfmt.h b/icu4c/source/i18n/unicode/decimfmt.h index 0bee8ffb350..b55036f78a5 100644 --- a/icu4c/source/i18n/unicode/decimfmt.h +++ b/icu4c/source/i18n/unicode/decimfmt.h @@ -1333,8 +1333,11 @@ class U_I18N_API DecimalFormat : public NumberFormat { virtual void setMultiplier(int32_t newValue); /** - * Gets a multiplier for the given power of ten. - * For example, scale of 2 corresponds to a multiplier of 100. + * Gets the power of ten by which number should be multiplied before formatting, which + * can be combined with setMultiplier() to multiply by any arbitrary decimal value. + * + * A multiplier scale of 2 corresponds to multiplication by 100, and a multiplier scale + * of -2 corresponds to multiplication by 0.01. * * This method is analogous to UNUM_SCALE in getAttribute. * @@ -1347,6 +1350,9 @@ class U_I18N_API DecimalFormat : public NumberFormat { * Sets a power of ten by which number should be multiplied before formatting, which * can be combined with setMultiplier() to multiply by any arbitrary decimal value. * + * A multiplier scale of 2 corresponds to multiplication by 100, and a multiplier scale + * of -2 corresponds to multiplication by 0.01. + * * For example, to multiply numbers by 0.5 before formatting, you can do: * *