minimumFractionDigits property

MinimumFractionDigits? get minimumFractionDigits

The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn't provide that information).

Implementation

_i3.MinimumFractionDigits? get minimumFractionDigits =>
    switch (_i5.getProperty(
      this,
      'minimumFractionDigits',
    )) {
      _i2.String name => _i3.MinimumFractionDigits.values.byName(name),
      _ => null
    };
set minimumFractionDigits (MinimumFractionDigits? value)

Implementation

set minimumFractionDigits(_i3.MinimumFractionDigits? value) {
  _i5.setProperty(
    this,
    'minimumFractionDigits',
    value?.name ?? _i4.undefined,
  );
}