Constructor LabelAndValue
LabelAndValue(String, Single, Type)
Declaration
public LabelAndValue(string label, float value, Type type)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.Single |
value |
|
Type |
type |
|
LabelAndValue(String, Single)
Constructor for value
. Makes the ToString() method
print the value
as a with at least 1 number after the decimal.
Declaration
public LabelAndValue(string label, float value)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.Single |
value |
|
LabelAndValue(String, Int32)
Constructor for value
. Makes the ToString() method
print the value
as an with no decimal.
Declaration
public LabelAndValue(string label, int value)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.Int32 |
value |
|