We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04267ef commit 949a877Copy full SHA for 949a877
pkgs/intl/lib/src/intl/number_format.dart
@@ -180,6 +180,11 @@ class NumberFormat {
180
NumberFormat.percentPattern([String locale])
181
: this._forPattern(locale, (x) => x.PERCENT_PATTERN);
182
183
+ /// Create a number format that prints as PERCENT_PATTERN.
184
+ NumberFormat.decimalPercentPattern({String locale, int decimalDigits})
185
+ : this._forPattern(locale, (x) => x.PERCENT_PATTERN,
186
+ decimalDigits: decimalDigits);
187
+
188
/// Create a number format that prints as SCIENTIFIC_PATTERN.
189
NumberFormat.scientificPattern([String locale])
190
: this._forPattern(locale, (x) => x.SCIENTIFIC_PATTERN);
0 commit comments