Method Round
Round(MidpointRounding)
Rounds each value's amount according to its currency's RoundingPolicy using the specified midpoint rounding mode (which defaults to ToEven "banker's rounding") and returns the resulting bag.
Declaration
public ImmutableMoneyBag Round(MidpointRounding mode = MidpointRounding.ToEven)
Parameters
| Type | Name | Description |
|---|---|---|
| MidpointRounding | mode |
Returns
| Type | Description |
|---|---|
| ImmutableMoneyBag |