Rounds a Quad value to the nearest integral value.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Quad Round(
Quad value
)
Public Shared Function Round (
value As Quad
) As Quad
public:
static Quad Round(
Quad value
)
static member Round :
value : Quad -> Quad
Parameters
- value
- Type: Extreme.MathematicsQuad
A quadruple precision number to be rounded.
Return Value
Type:
Quad
The integer nearest parameter value. If the fractional component of
value is halfway
between two integers, one of which is even and the other odd, the even number
is returned. Note that this method returns a System.Decimal instead of an
integral type.
Exception | Condition |
---|
OverflowException |
The result is outside the range of a System.Decimal.
|
Reference