Number Structure

Structure that encapsulates a numeric value supported as a parameter value.

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public struct Number : IEquatable<Number>, 
	IComparable, IComparable<Number>, IFormattable, IConvertible

The Number type exposes the following members.

Constructors
  NameDescription
Public methodNumber
Initializes a new instance of the Number structure.
Top
Properties
  NameDescription
Public propertyIsInteger
Gets a value indicating whether this instance is an integer type number, with no fractional part.
Top
Methods
  NameDescription
Public methodCompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(Number)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodStatic memberConvertToNumber
Converts to number.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Number)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetMaxValue
Gets the maximum value.
Public methodGetMinValue
Gets the minimum value.
Public methodToEnumT
Converts to enumeration.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two Number structures for equality.
Public operatorStatic member(Enum to Number)
Converts the value from type Enum to type Number.
Public operatorStatic member(Number to UInt16)
Converts the value from type Number to type UInt16.
Public operatorStatic member(Number to UInt32)
Converts the value from type Number to type UInt32.
Public operatorStatic member(Number to UInt64)
Converts the value from type Number to type UInt64.
Public operatorStatic member(Number to Byte)
Converts the value from type Number to type Byte.
Public operatorStatic member(Number to Decimal)
Converts the value from type Number to type Decimal.
Public operatorStatic member(Number to Int16)
Converts the value from type Number to type Int16.
Public operatorStatic member(Number to Int32)
Converts the value from type Number to type Int32.
Public operatorStatic member(Number to Int64)
Converts the value from type Number to type Int64.
Public operatorStatic member(Number to Single)
Converts the value from type Number to type Single.
Public operatorStatic member(Number to String)
Converts the value from type Number to type String.
Public operatorStatic memberGreaterThan
Compares two Number.
Public operatorStatic memberGreaterThanOrEqual
Compares two Number.
Public operatorStatic member(Byte to Number)
Implicitly converts the value from type Byte to type Number.
Public operatorStatic member(Decimal to Number)
Implicitly converts the value from type Decimal to type Number.
Public operatorStatic member(Double to Number)
Implicitly converts the value from type Double to type Number.
Public operatorStatic member(Int16 to Number)
Implicitly converts the value from type Int16 to type Number.
Public operatorStatic member(Int32 to Number)
Implicitly converts the value from type Int32 to type Number.
Public operatorStatic member(Int64 to Number)
Implicitly converts the value from type Int64 to type Number.
Public operatorStatic member(Single to Number)
Implicitly converts the value from type Single to type Number.
Public operatorStatic member(UInt16 to Number)
Implicitly converts the value from type UInt16 to type Number.
Public operatorStatic member(UInt32 to Number)
Implicitly converts the value from type UInt32 to type Number.
Public operatorStatic member(UInt64 to Number)
Implicitly converts the value from type UInt64 to type Number.
Public operatorStatic member(Number to Double)
Implicitly converts the value from type Number to type Double.
Public operatorStatic memberInequality
Compares two Number structures for inequality.
Public operatorStatic memberLessThan
Compares two Number.
Public operatorStatic memberLessThanOrEqual
Compares two Number.
Top
See Also