# Number Members

> Reference: Represents the base type of any numerical value.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">Number</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

## Methods

### CompareTo

<span class="api-meta">2 overloads</span>

| Overload | Description |
|---|---|
| [CompareTo(object)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#compareto-system-object) | Compares the current [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) with the `other`. |
| [CompareTo(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#compareto-opc-uafx-number) | Compares the current [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) with another [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/). |

#### CompareTo(object)

Compares the current [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) with the `other`.

<div class="api-signature" data-lang="csharp">

```csharp
public int CompareTo(object other)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function CompareTo(other As Object) As Integer
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [Object](https://learn.microsoft.com/dotnet/api/system.object) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to compare with this [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/). |

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

A 32-Number signed integer that indicates the relative order of the objects being compared ([CompareTo(object)](https://learn.microsoft.com/dotnet/api/system.icomparable.compareto)).

**Implements**

[CompareTo(object)](https://learn.microsoft.com/dotnet/api/system.icomparable.compareto)

#### CompareTo(Number)

Compares the current [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) with another [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/).

<div class="api-signature" data-lang="csharp">

```csharp
public int CompareTo(Number other)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function CompareTo(other As Number) As Integer
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to compare with this [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/). |

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

A 32-Number signed integer that indicates the relative order of the objects being compared ([CompareTo(T)](https://learn.microsoft.com/dotnet/api/system.icomparable-1.compareto)).

**Implements**

[CompareTo(Number)](https://learn.microsoft.com/dotnet/api/system.icomparable-1.compareto)

### Equals

<span class="api-meta">2 overloads</span>

| Overload | Description |
|---|---|
| [Equals(object)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#equals-system-object)<span class="api-meta">override</span> | Determines whether the specified `other` is equal to this [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/). |
| [Equals(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#equals-opc-uafx-number) | Determines whether the specified `other` is equal to this [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/). |

#### Equals(object)

<span class="api-meta">override</span>

Determines whether the specified `other` is equal to this [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/).

<div class="api-signature" data-lang="csharp">

```csharp
public override bool Equals(object other)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Overrides Function Equals(other As Object) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [Object](https://learn.microsoft.com/dotnet/api/system.object) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to compare to the current [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/). |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) is equal to the current [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/); otherwise the value false.

**Overrides**

[Equals(object)](https://learn.microsoft.com/dotnet/api/system.valuetype.equals)

#### Equals(Number)

Determines whether the specified `other` is equal to this [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/).

<div class="api-signature" data-lang="csharp">

```csharp
public bool Equals(Number other)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function Equals(other As Number) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to compare to the current [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/). |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) is equal to the current [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/); otherwise the value false.

**Implements**

[Equals(Number)](https://learn.microsoft.com/dotnet/api/system.iequatable-1.equals)

### GetHashCode

<span class="api-meta">override</span>

Retrieves a hash code for this [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/).

<div class="api-signature" data-lang="csharp">

```csharp
public override int GetHashCode()
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Overrides Function GetHashCode() As Integer
```

</div>

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

An [int](https://learn.microsoft.com/dotnet/api/system.int32) that contains the hash code for the [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/).

**Overrides**

[GetHashCode()](https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode)

### GetTypeCode

Returns the type code for the [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value type.

<div class="api-signature" data-lang="csharp">

```csharp
public TypeCode GetTypeCode()
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function GetTypeCode() As TypeCode
```

</div>

**Returns**

[TypeCode](https://learn.microsoft.com/dotnet/api/system.typecode)

The enumerated constant [Boolean](https://learn.microsoft.com/dotnet/api/system.typecode#system-typecode-boolean).

**Implements**

[GetTypeCode()](https://learn.microsoft.com/dotnet/api/system.iconvertible.gettypecode)

### ToString

<span class="api-meta">4 overloads</span>

| Overload | Description |
|---|---|
| [ToString()](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#tostring-noparams)<span class="api-meta">override</span> | Converts the numeric value of this instance to its equivalent string representation. |
| [ToString(IFormatProvider)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#tostring-system-iformatprovider) | Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information. |
| [ToString(string)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#tostring-system-string) | Converts the numeric value of this instance to its equivalent string representation, using the specified format. |
| [ToString(string, IFormatProvider)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#tostring-system-string-system-iformatprovider) | Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information. |

#### ToString()

<span class="api-meta">override</span>

Converts the numeric value of this instance to its equivalent string representation.

<div class="api-signature" data-lang="csharp">

```csharp
public override string ToString()
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Overrides Function ToString() As String
```

</div>

**Returns**

[String](https://learn.microsoft.com/dotnet/api/system.string)

The string representation of the value of this instance.

**Overrides**

[ToString()](https://learn.microsoft.com/dotnet/api/system.valuetype.tostring)

#### ToString(IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

<div class="api-signature" data-lang="csharp">

```csharp
public string ToString(IFormatProvider provider)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function ToString(provider As IFormatProvider) As String
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `provider` | [IFormatProvider](https://learn.microsoft.com/dotnet/api/system.iformatprovider) | An object that supplies culture-specific formatting information. |

**Returns**

[String](https://learn.microsoft.com/dotnet/api/system.string)

The string representation of the value of this instance, as specified by provider.

**Implements**

[ToString(IFormatProvider)](https://learn.microsoft.com/dotnet/api/system.iconvertible.tostring)

#### ToString(string)

Converts the numeric value of this instance to its equivalent string representation, using the specified format.

<div class="api-signature" data-lang="csharp">

```csharp
public string ToString(string format)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function ToString(format As String) As String
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `format` | [String](https://learn.microsoft.com/dotnet/api/system.string) | A standard or custom numeric format string. |

**Returns**

[String](https://learn.microsoft.com/dotnet/api/system.string)

The string representation of the value of this instance as specified by format.

**Exceptions**

| Exception | Condition |
|---|---|
| [FormatException](https://learn.microsoft.com/dotnet/api/system.formatexception) | The `format` is invalid. |

#### ToString(string, IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.

<div class="api-signature" data-lang="csharp">

```csharp
public string ToString(string format, IFormatProvider provider)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function ToString(
    format As String,
    provider As IFormatProvider) As String
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `format` | [String](https://learn.microsoft.com/dotnet/api/system.string) | A standard or custom numeric format string. |
| `provider` | [IFormatProvider](https://learn.microsoft.com/dotnet/api/system.iformatprovider) | An object that supplies culture-specific formatting information. |

**Returns**

[String](https://learn.microsoft.com/dotnet/api/system.string)

The string representation of the value of this instance as specified by format and provider.

**Exceptions**

| Exception | Condition |
|---|---|
| [FormatException](https://learn.microsoft.com/dotnet/api/system.formatexception) | The `format` is invalid. |

## Operators

### Equality

<span class="api-meta">static</span>

Returns a value indicating whether two values of [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) are equal.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator ==(Number left, Number right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator =(left As Number, right As Number) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The first [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to compare. |
| `right` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The second [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to compare. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if left and right are equal; otherwise the value false.

### Explicit

<span class="api-meta">static · 11 overloads</span>

| Overload | Description |
|---|---|
| [explicit operator sbyte(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-sbyte)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) value. |
| [explicit operator byte(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-byte)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [byte](https://learn.microsoft.com/dotnet/api/system.byte) value. |
| [explicit operator short(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-int16)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [short](https://learn.microsoft.com/dotnet/api/system.int16) value. |
| [explicit operator ushort(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-uint16)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) value. |
| [explicit operator int(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-int32)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [int](https://learn.microsoft.com/dotnet/api/system.int32) value. |
| [explicit operator uint(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-uint32)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [uint](https://learn.microsoft.com/dotnet/api/system.uint32) value. |
| [explicit operator long(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-int64)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [long](https://learn.microsoft.com/dotnet/api/system.int64) value. |
| [explicit operator ulong(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-uint64)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) value. |
| [explicit operator float(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-single)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [float](https://learn.microsoft.com/dotnet/api/system.single) value. |
| [explicit operator double(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-double)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [double](https://learn.microsoft.com/dotnet/api/system.double) value. |
| [explicit operator decimal(Number)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-explicit-opc-uafx-number-system-decimal)<span class="api-meta">static</span> | Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) value. |

#### explicit operator sbyte(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator sbyte(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As SByte
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[SByte](https://learn.microsoft.com/dotnet/api/system.sbyte)

The [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) value of the `value`.

#### explicit operator byte(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [byte](https://learn.microsoft.com/dotnet/api/system.byte) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator byte(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As Byte
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Byte](https://learn.microsoft.com/dotnet/api/system.byte)

The [byte](https://learn.microsoft.com/dotnet/api/system.byte) value of the `value`.

#### explicit operator short(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [short](https://learn.microsoft.com/dotnet/api/system.int16) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator short(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As Short
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Int16](https://learn.microsoft.com/dotnet/api/system.int16)

The [short](https://learn.microsoft.com/dotnet/api/system.int16) value of the `value`.

#### explicit operator ushort(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator ushort(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As UShort
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[UInt16](https://learn.microsoft.com/dotnet/api/system.uint16)

The [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) value of the `value`.

#### explicit operator int(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [int](https://learn.microsoft.com/dotnet/api/system.int32) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator int(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As Integer
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

The [int](https://learn.microsoft.com/dotnet/api/system.int32) value of the `value`.

#### explicit operator uint(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [uint](https://learn.microsoft.com/dotnet/api/system.uint32) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator uint(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As UInteger
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[UInt32](https://learn.microsoft.com/dotnet/api/system.uint32)

The [uint](https://learn.microsoft.com/dotnet/api/system.uint32) value of the `value`.

#### explicit operator long(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [long](https://learn.microsoft.com/dotnet/api/system.int64) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator long(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As Long
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Int64](https://learn.microsoft.com/dotnet/api/system.int64)

The [long](https://learn.microsoft.com/dotnet/api/system.int64) value of the `value`.

#### explicit operator ulong(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator ulong(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As ULong
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[UInt64](https://learn.microsoft.com/dotnet/api/system.uint64)

The [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) value of the `value`.

#### explicit operator float(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [float](https://learn.microsoft.com/dotnet/api/system.single) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator float(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As Single
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Single](https://learn.microsoft.com/dotnet/api/system.single)

The [float](https://learn.microsoft.com/dotnet/api/system.single) value of the `value`.

#### explicit operator double(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [double](https://learn.microsoft.com/dotnet/api/system.double) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator double(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As Double
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Double](https://learn.microsoft.com/dotnet/api/system.double)

The [double](https://learn.microsoft.com/dotnet/api/system.double) value of the `value`.

#### explicit operator decimal(Number)

<span class="api-meta">static</span>

Converts a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to a [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static explicit operator decimal(Number value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Narrowing Operator CType(value As Number) As Decimal
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Decimal](https://learn.microsoft.com/dotnet/api/system.decimal)

The [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) value of the `value`.

### GreaterThan

<span class="api-meta">static</span>

Determines whether the first specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value is greater than the second specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator >(Number left, Number right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator >(left As Number, right As Number) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The first [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| `right` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The second [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is greater than `right`; otherwise, false.

### GreaterThanOrEqual

<span class="api-meta">static</span>

Determines whether the first specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value is greater than or equal to the second specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator >=(Number left, Number right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator >=(left As Number, right As Number) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The first [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| `right` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The second [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is greater than or equal to `right`; otherwise, false.

### Implicit

<span class="api-meta">static · 11 overloads</span>

| Overload | Description |
|---|---|
| [implicit operator Number(sbyte)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-sbyte-opc-uafx-number)<span class="api-meta">static</span> | Converts a [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(byte)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-byte-opc-uafx-number)<span class="api-meta">static</span> | Converts a [byte](https://learn.microsoft.com/dotnet/api/system.byte) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(short)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-int16-opc-uafx-number)<span class="api-meta">static</span> | Converts a [short](https://learn.microsoft.com/dotnet/api/system.int16) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(ushort)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-uint16-opc-uafx-number)<span class="api-meta">static</span> | Converts a [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-int32-opc-uafx-number)<span class="api-meta">static</span> | Converts a [int](https://learn.microsoft.com/dotnet/api/system.int32) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(uint)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-uint32-opc-uafx-number)<span class="api-meta">static</span> | Converts a [uint](https://learn.microsoft.com/dotnet/api/system.uint32) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(long)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-int64-opc-uafx-number)<span class="api-meta">static</span> | Converts a [long](https://learn.microsoft.com/dotnet/api/system.int64) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(ulong)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-uint64-opc-uafx-number)<span class="api-meta">static</span> | Converts a [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(float)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-single-opc-uafx-number)<span class="api-meta">static</span> | Converts a [float](https://learn.microsoft.com/dotnet/api/system.single) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(double)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-double-opc-uafx-number)<span class="api-meta">static</span> | Converts a [double](https://learn.microsoft.com/dotnet/api/system.double) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| [implicit operator Number(decimal)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/members#op-implicit-system-decimal-opc-uafx-number)<span class="api-meta">static</span> | Converts a [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

#### implicit operator Number(sbyte)

<span class="api-meta">static</span>

Converts a [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(sbyte value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As SByte) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [SByte](https://learn.microsoft.com/dotnet/api/system.sbyte) | The [sbyte](https://learn.microsoft.com/dotnet/api/system.sbyte) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(byte)

<span class="api-meta">static</span>

Converts a [byte](https://learn.microsoft.com/dotnet/api/system.byte) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(byte value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As Byte) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte) | The [byte](https://learn.microsoft.com/dotnet/api/system.byte) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(short)

<span class="api-meta">static</span>

Converts a [short](https://learn.microsoft.com/dotnet/api/system.int16) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(short value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As Short) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Int16](https://learn.microsoft.com/dotnet/api/system.int16) | The [short](https://learn.microsoft.com/dotnet/api/system.int16) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(ushort)

<span class="api-meta">static</span>

Converts a [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(ushort value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As UShort) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [UInt16](https://learn.microsoft.com/dotnet/api/system.uint16) | The [ushort](https://learn.microsoft.com/dotnet/api/system.uint16) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(int)

<span class="api-meta">static</span>

Converts a [int](https://learn.microsoft.com/dotnet/api/system.int32) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(int value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As Integer) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The [int](https://learn.microsoft.com/dotnet/api/system.int32) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(uint)

<span class="api-meta">static</span>

Converts a [uint](https://learn.microsoft.com/dotnet/api/system.uint32) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(uint value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As UInteger) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The [uint](https://learn.microsoft.com/dotnet/api/system.uint32) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(long)

<span class="api-meta">static</span>

Converts a [long](https://learn.microsoft.com/dotnet/api/system.int64) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(long value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As Long) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Int64](https://learn.microsoft.com/dotnet/api/system.int64) | The [long](https://learn.microsoft.com/dotnet/api/system.int64) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(ulong)

<span class="api-meta">static</span>

Converts a [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(ulong value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As ULong) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [UInt64](https://learn.microsoft.com/dotnet/api/system.uint64) | The [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(float)

<span class="api-meta">static</span>

Converts a [float](https://learn.microsoft.com/dotnet/api/system.single) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(float value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As Single) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Single](https://learn.microsoft.com/dotnet/api/system.single) | The [float](https://learn.microsoft.com/dotnet/api/system.single) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(double)

<span class="api-meta">static</span>

Converts a [double](https://learn.microsoft.com/dotnet/api/system.double) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(double value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As Double) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Double](https://learn.microsoft.com/dotnet/api/system.double) | The [double](https://learn.microsoft.com/dotnet/api/system.double) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

#### implicit operator Number(decimal)

<span class="api-meta">static</span>

Converts a [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) to a [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static implicit operator Number(decimal value)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Widening Operator CType(value As Decimal) As Number
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Decimal](https://learn.microsoft.com/dotnet/api/system.decimal) | The [decimal](https://learn.microsoft.com/dotnet/api/system.decimal) value. |

**Returns**

[Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/)

The [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value from the `value`.

### Inequality

<span class="api-meta">static</span>

Returns a value indicating whether two values of [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) are not equal.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator !=(Number left, Number right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator <>(left As Number, right As Number) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The first [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to compare. |
| `right` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The second [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) to compare. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if left and right are not equal; otherwise the value false.

### LessThan

<span class="api-meta">static</span>

Determines whether the first specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value is less than the second specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator <(Number left, Number right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator <(left As Number, right As Number) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The first [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| `right` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The second [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is less than `right`; otherwise the value false.

### LessThanOrEqual

<span class="api-meta">static</span>

Determines whether the first specified [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value is less than or equal to the second [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator <=(Number left, Number right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator <=(left As Number, right As Number) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The first [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |
| `right` | [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) | The second [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.number/) value. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is less than or equal to `right`; otherwise the value false.
