Initializes a new instance of the DoubleConverter class.

Namespace: Dapfor.Wpf.Converters
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
public DoubleConverter(
	int precision,
	bool shortForm,
	bool showZero
)
Visual Basic
Public Sub New ( 
	precision As Integer,
	shortForm As Boolean,
	showZero As Boolean
)
Visual C++
public:
DoubleConverter(
	int precision, 
	bool shortForm, 
	bool showZero
)
F#
new : 
        precision : int * 
        shortForm : bool * 
        showZero : bool -> DoubleConverter

Parameters

precision
Type: System..::..Int32
The precision.
shortForm
Type: System..::..Boolean
if set to true the representation should be in the shortest possible form. (For ex. 1000000 is presented as 1M)
showZero
Type: System..::..Boolean
if set to true, the converter displays non-significant zero.

See Also