-
Notifications
You must be signed in to change notification settings - Fork 0
e8d23bdd 38b9 f283 9d53 48b114cc3c06
Axel Kesseler edited this page Oct 3, 2019
·
3 revisions
Formats provided value according to current settings.
Namespace: Plexdata.Converters.Entities
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1
C#
public string Format(
decimal value,
string unit,
int decimals,
NumberFormatInfo formatter
)
- value
- Type: System.Decimal
The value to be formatted. - unit
- Type: System.String
The unit to be appended. - decimals
- Type: System.Int32
The number of decimal digits to be used for calculation. - formatter
- Type: System.Globalization.NumberFormatInfo
The number formatter to be used for result formatting.
Type: String
The string representation of formatted value.
This method formats provided value according to current settings.
CapacityEntity Class
Format Overload
Plexdata.Converters.Entities Namespace
CapacityEntity.Format(Decimal, String, Int32, Boolean, Boolean, NumberFormatInfo)
Plexdata Capacity Converter