Method ToInt64
ToInt64()
Converts the value represented by this instance to a 64-bit signed
integer.
Declaration
public override long ToInt64()
Returns
| Type | Description |
|---|---|
| Int64 | The value rounded to the nearest 64-bit signed integer. |
Overrides
Remarks
This method performs the same conversion as
ToInt64(Double).
Exceptions
| Type | Condition |
|---|---|
| OverflowException | If this instance represents value less than MinValue or greater than MaxValue |