BigNumber.Explicit Operator
Definition
Namespace: Corvus.Numerics
Assembly: Corvus.Text.Json.dll
Overloads
| Operator | Description |
|---|---|
| explicit operator decimal(BigNumber) | Explicitly converts a BigNumber to a Decimal. |
| explicit operator double(BigNumber) | Explicitly converts a BigNumber to a Double. |
| explicit operator float(BigNumber) | Explicitly converts a BigNumber to a Single. |
| explicit operator long(BigNumber) | Explicitly converts a BigNumber to a Int64. |
| explicit operator ulong(BigNumber) | Explicitly converts a BigNumber to a UInt64. |
explicit operator decimal(BigNumber)
Source: BigNumber.cs
Explicitly converts a BigNumber to a Decimal.
public static explicit operator decimal(BigNumber value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
Returns
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
explicit operator double(BigNumber)
Source: BigNumber.cs
Explicitly converts a BigNumber to a Double.
public static explicit operator double(BigNumber value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
Returns
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
explicit operator float(BigNumber)
Source: BigNumber.cs
Explicitly converts a BigNumber to a Single.
public static explicit operator float(BigNumber value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
Returns
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
explicit operator long(BigNumber)
Source: BigNumber.cs
Explicitly converts a BigNumber to a Int64.
public static explicit operator long(BigNumber value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
Returns
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
explicit operator ulong(BigNumber)
Source: BigNumber.cs
Explicitly converts a BigNumber to a UInt64.
public static explicit operator ulong(BigNumber value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
Returns
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue