Big Float.Round(Big Float, Int 32) Method
Rounds a BigFloat value to the specified number of decimal digits.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The BigFloat value with digits digits after the decimal point that is closest to value.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static BigFloat Round(
BigFloat value,
int digits
)
Parameters
Return Value
BigFloatThe BigFloat value with digits digits after the decimal point that is closest to value.
Remarks
If digits is negative, then the result is an integer that is a multiple of a power of ten. Results are rounded towards zero.
Exceptions
Argument | value is null. |