-
Notifications
You must be signed in to change notification settings - Fork 0
d20b9a7c 7ea2 359d 880b 668ebe976d9b
Axel Kesseler edited this page Oct 3, 2019
·
2 revisions
Returns the number formatter based on provided culture.
Namespace: Plexdata.Converters.Entities
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1
C#
private NumberFormatInfo GetFormatter(
CultureInfo culture,
int decimals
)
- culture
- Type: System.Globalization.CultureInfo
The culture to be used as base. This parameter can benull
. - decimals
- Type: System.Int32
The number of decimal digits to be used.
Type: NumberFormatInfo
The derived and configured number formatter.
This method returns the number formatter based on provided culture and adjusts the number of decimal digits accordingly.
CapacityEntity Class
GetFormatter Overload
Plexdata.Converters.Entities Namespace
CapacityEntity.GetCulture()
CapacityEntity.GetFormatter(NumberFormatInfo, Int32)
Plexdata Capacity Converter