CurrencyGroupSizes

Namespace ›› System ›› MfNumberFormatInfo ›› Properties ››
Parent Previous Next

CurrencyGroupSizes

Gets or sets the number of digits in each group to the left of the decimal in currency values.

OutputVar := instance.CurrencyGroupSizes
instance.CurrencyGroupSizes := Value

Value

Instance of MfListVar containing integer var values

Gets

Gets the number of digits in each group to the left of the decimal in currency values as MfListVar. The default for InvariantInfo is a MfListVar instance with only one element, which is set to a value of 3.

Sets

Sets the number of digits in each group to the left of the decimal in currency values.

Throws

Throws MfInvalidOperationException if the property is being set and the MfNumberFormatInfo is read-only.
Throws MfArgumentNullException if the property is being set to null.
Throws MfArgumentException if the property is being set and the list contains an entry that is less than 0 or greater than 9.-or- The property is being set and the list contains an entry, other than the last entry, that is set to 0.-or- value is not a MfListBase derived list.

Remarks

Any list derived from MfListBase containing integer elements can be used to set CurrencyGroupSizes if IsReadOnly is false. However CurrencyGroupSizes will always return MfListVar instance.