Class DoubleNumberGrammarRange
Defines a number range for which a pluralisation form can be used
Inheritance
System.Object
DoubleNumberGrammarRange
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Core.Globalization.NumberMetadata
Assembly: Sdl.Core.Globalization.dll
Syntax
public class DoubleNumberGrammarRange
Constructors
DoubleNumberGrammarRange()
Declaration
public DoubleNumberGrammarRange()
Properties
LowerBound
The lower bound of the range
Declaration
public double LowerBound { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
UpperBound
The upper bound of the range, or null if there is no upper bound
Declaration
public double? UpperBound { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Methods
IsInRange(Double)
Returns true if d
meets the conditions of this range specification
Declaration
public bool IsInRange(double d)
Parameters
Type | Name | Description |
---|---|---|
System.Double | d |
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()