Skip to content

ExtendedNumerics.BigDecimal.Round(ExtendedNumerics.BigDecimal,System.MidpointRounding)

Adam White edited this page Oct 7, 2024 · 1 revision

BigDecimal.Round(BigDecimal, MidpointRounding) Method

Rounds a BigDecimal value to the nearest integral value. A parameter specifies how to round the value if it is midway between two numbers.

public static System.Numerics.BigInteger Round(ExtendedNumerics.BigDecimal value, System.MidpointRounding mode);

Parameters

value BigDecimal

mode System.MidpointRounding

Returns

System.Numerics.BigInteger

Clone this wiki locally