-
Notifications
You must be signed in to change notification settings - Fork 0
f7162528 9b61 f653 fe31 b7d5d0ea5ade
Axel Kesseler edited this page Oct 3, 2019
·
1 revision
Adjusts the number of decimal digits.
Namespace: Plexdata.Converters.Entities
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1
C#
private void AdjustDecimalDigits(
NumberFormatInfo formatter,
decimal value,
int decimals,
bool intercept
)
- formatter
- Type: System.Globalization.NumberFormatInfo
The formatter to be adjusted. - value
- Type: System.Decimal
The affected value. - decimals
- Type: System.Int32
The proposed number of decimal digits. - intercept
- Type: System.Boolean
True to force an adjustment of number of decimal digits, otherwise false.
This method adjusts the number of decimal digits according to provided parameters.
Plexdata Capacity Converter