Skip to content

f7162528 9b61 f653 fe31 b7d5d0ea5ade

Axel Kesseler edited this page Oct 3, 2019 · 1 revision

CapacityEntity.AdjustDecimalDigits Method

Adjusts the number of decimal digits.

Namespace: Plexdata.Converters.Entities
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1

Syntax

C#

private void AdjustDecimalDigits(
	NumberFormatInfo formatter,
	decimal value,
	int decimals,
	bool intercept
)

Parameters

 

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.

Remarks

This method adjusts the number of decimal digits according to provided parameters.

See Also

Reference

CapacityEntity Class
Plexdata.Converters.Entities Namespace

Clone this wiki locally