BigNumber.Truncate Method
Definition
Namespace: Corvus.Numerics
Assembly: Corvus.Text.Json.dll
Source: BigNumber.cs
Truncate(BigNumber)
Truncates a value to an integer by removing the fractional part.
public static BigNumber Truncate(BigNumber value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
BigNumber |
The value to truncate. |
Returns
The truncated value.
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