Namespace: Dapfor.Wpf.ConvertersAssembly: 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,
IFormatProvider formatProvider
) |
Visual Basic |
---|
Public Sub New (
precision As Integer,
shortForm As Boolean,
showZero As Boolean,
formatProvider As IFormatProvider
) |
Visual C++ |
---|
public:
DoubleConverter(
int precision,
bool shortForm,
bool showZero,
IFormatProvider^ formatProvider
) |
F# |
---|
new :
precision : int *
shortForm : bool *
showZero : bool *
formatProvider : IFormatProvider -> 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.
- formatProvider
- Type: System..::..IFormatProvider
The format provider.
See Also