Rounds a Quad value to a specified number of fractional digits.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Quad Round(
Quad value,
int decimals
)
Public Shared Function Round (
value As Quad,
decimals As Integer
) As Quad
public:
static Quad Round(
Quad value,
int decimals
)
static member Round :
value : Quad *
decimals : int -> Quad
Parameters
- value
- Type: Extreme.MathematicsQuad
A quadruple precision number to be rounded.
- decimals
- Type: SystemInt32
The number of Quad places in the return value.
Return Value
Type:
Quad
The number nearest to value that contains a number of fractional digits equal
to decimals.
Reference