|
MatrixRound Method (Double, Int32)
|
Rounds a double-precision floating-point number array to a specified number of fractional digits.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double[] Round(
double[] vector,
int decimals = 0
)
Public Shared Function Round (
vector As Double(),
Optional decimals As Integer = 0
) As Double()
Request Example
View SourceParameters
- vector
- Type: SystemDouble
- decimals (Optional)
- Type: SystemInt32
Return Value
Type:
DoubleSee Also