-
Notifications
You must be signed in to change notification settings - Fork 0
3f28270c 46d3 e3d1 1d6f 2af6190738f3
Axel Kesseler edited this page Oct 3, 2019
·
1 revision
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,
bool calculate,
bool intercept,
CultureInfo culture
)
- 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. - calculate
- Type: System.Boolean
True to force a result calculation, otherwise false. - intercept
- Type: System.Boolean
True to force intercept mode, otherwise false. - culture
- Type: System.Globalization.CultureInfo
The culture to be used for calculation.
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