Namespace: Dapfor.Net.FormatsAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
 Syntax
Syntax
| C# | 
|---|
| public DoubleFormatAttribute(
	int precision,
	bool shortForm,
	bool showZero
) | 
| Visual Basic | 
|---|
| Public Sub New ( 
	precision As Integer,
	shortForm As Boolean,
	showZero As Boolean
) | 
| Visual C++ | 
|---|
| public:
DoubleFormatAttribute(
	int precision, 
	bool shortForm, 
	bool showZero
) | 
| F# | 
|---|
| new : 
        precision : int * 
        shortForm : bool * 
        showZero : bool -> DoubleFormatAttribute | 
Parameters
- precision
- Type: System..::..Int32
 The precision.
- shortForm
- Type: System..::..Boolean
 if set to true the DoubleFormat will format big values to the short form, remplacing millions and billions by 'M' or 'B' letters
- showZero
- Type: System..::..Boolean
 if set to true, the DoubleFormat will show '0' symbol for the zero values.
 Examples
Examples
|  |  Copy | 
|---|
| [DoubleFormat(Precision = 4, ShortForm = true, ShowZero = false)]
public double Price
{
    get { return price; }
}
 | 
 See Also
See Also