Click or drag to resize

PrecisionRound Method

Overload List
 NameDescription
Public Extension MethodCode exampleRound(BigInteger, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(Decimal, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(Double, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(Int16, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(Int32, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(Int64, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(Single, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(UInt16, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(UInt32, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Public Extension MethodCode exampleRound(UInt64, Int32) Round to the number closest to 10^(-decimals). Negative decimals to round within the integer part.
Top
See Also