Lucene.Net.Facet.LabelAndValue.LabelAndValue C# (CSharp) Method

LabelAndValue() public method

Constructor for float value. Makes the ToString() method print the value as a float with at least 1 number after the decimal.
public LabelAndValue ( string label, float value ) : System
label string
value float
return System
        public LabelAndValue(string label, float value)
        {
            this.Label = label;
            this.Value = value;
            this.TypeOfValue = typeof(float);
        }

Same methods

LabelAndValue::LabelAndValue ( string label, int value ) : System