Skip to content

Commit

Permalink
Update simplenumberformatter.h
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc authored Sep 20, 2024
1 parent ec8ddd9 commit 195ac77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion icu4c/source/i18n/unicode/simplenumberformatter.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,14 @@ class U_I18N_API SimpleNumber : public UMemory {
*/
void roundTo(int32_t power, UNumberFormatRoundingMode roundingMode, UErrorCode& status);

#ifndef U_HIDE_DRAFT_API
/**
* Sets the number of integer digits to the given amount, truncating if necessary.
*
* @stable ICU 75
* @draft ICU 75
*/
void setMaximumIntegerDigits(uint32_t maximumIntegerDigits, UErrorCode& status);
#endif // U_HIDE_DRAFT_API

/**
* Pads the beginning of the number with zeros up to the given minimum number of integer digits.
Expand Down

0 comments on commit 195ac77

Please sign in to comment.