A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public struct Number : IEquatable<Number>,
    	IComparable, IComparable<Number>, IFormattable, IConvertible

    Public Structure Number
    	Implements IEquatable(Of Number), IComparable,
    	IComparable(Of Number), IFormattable, IConvertible

    public value class Number : IEquatable<Number>,
    	IComparable, IComparable<Number>, IFormattable, IConvertible

    [<SealedAttribute>]
    type Number =
        struct
            interface IEquatable<Number>
            interface IComparable
            interface IComparable<Number>
            interface IFormattable
            interface IConvertible
        end

The Number type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| Number | Initializes a new instance of the Number structure.

Top
Properties

| Name | Description
--- | --- | ---
| IsInteger | Gets a value indicating whether this instance is an integer type number, with no fractional part.

Top
Methods

| Name | Description
--- | --- | ---
| CompareTo(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.
| CompareTo(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.
| ConvertToNumber | Converts to number.
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueType Equals(Object).)
| Equals(Number) | Indicates whether the current object is equal to another object of the same type.
| GetHashCode | Returns the hash code for this instance. (Overrides ValueType GetHashCode .)
| GetMaxValue | Gets the maximum value.
| GetMinValue | Gets the minimum value.
| ToEnum T | Converts to enumeration.
| ToString | Returns the fully qualified type name of this instance. (Overrides ValueType ToString .)
| ToString(String, IFormatProvider) | Formats the value of the current instance using the specified format.

Top
Operators

| Name | Description
--- | --- | ---
| Equality | Compares two Number structures for equality.
| (Enum to Number) | Converts the value from type Enum to type Number.
| (Number to UInt16) | Converts the value from type Number to type UInt16.
| (Number to UInt32) | Converts the value from type Number to type UInt32.
| (Number to UInt64) | Converts the value from type Number to type UInt64.
| (Number to Byte) | Converts the value from type Number to type Byte.
| (Number to Decimal) | Converts the value from type Number to type Decimal.
| (Number to Int16) | Converts the value from type Number to type Int16.
| (Number to Int32) | Converts the value from type Number to type Int32.
| (Number to Int64) | Converts the value from type Number to type Int64.
| (Number to Single) | Converts the value from type Number to type Single.
| (Number to String) | Converts the value from type Number to type String.
| GreaterThan | Compares two Number.
| GreaterThanOrEqual | Compares two Number.
| (Byte to Number) | Implicitly converts the value from type Byte to type Number.
| (Decimal to Number) | Implicitly converts the value from type Decimal to type Number.
| (Double to Number) | Implicitly converts the value from type Double to type Number.
| (Int16 to Number) | Implicitly converts the value from type Int16 to type Number.
| (Int32 to Number) | Implicitly converts the value from type Int32 to type Number.
| (Int64 to Number) | Implicitly converts the value from type Int64 to type Number.
| (Single to Number) | Implicitly converts the value from type Single to type Number.
| (UInt16 to Number) | Implicitly converts the value from type UInt16 to type Number.
| (UInt32 to Number) | Implicitly converts the value from type UInt32 to type Number.
| (UInt64 to Number) | Implicitly converts the value from type UInt64 to type Number.
| (Number to Double) | Implicitly converts the value from type Number to type Double.
| Inequality | Compares two Number structures for inequality.
| LessThan | Compares two Number.
| LessThanOrEqual | Compares two Number.

Top
See Also

#### Reference

Dundas.BI Namespace