- MathRandomNonZero
- MathMoments
- MathPowInt
- MathFactorial
- MathTrunc
- MathRound
- MathArctan2
- MathGamma
- MathGammaLog
- MathBeta
- MathBetaLog
- MathBetaIncomplete
- MathGammaIncomplete
- MathBinomialCoefficient
- MathBinomialCoefficientLog
- MathHypergeometric2F2
- MathSequence
- MathSequenceByCount
- MathReplicate
- MathReverse
- MathIdentical
- MathUnique
- MathQuickSortAscending
- MathQuickSortDescending
- MathQuickSort
- MathOrder
- MathBitwiseNot
- MathBitwiseAnd
- MathBitwiseOr
- MathBitwiseXor
- MathBitwiseShiftL
- MathBitwiseShiftR
- MathCumulativeSum
- MathCumulativeProduct
- MathCumulativeMin
- MathCumulativeMax
- MathSin
- MathCos
- MathTan
- MathArcsin
- MathArccos
- MathArctan
- MathSinPi
- MathCosPi
- MathTanPi
- MathAbs
- MathCeil
- MathFloor
- MathSqrt
- MathExp
- MathPow
- MathLog
- MathLog2
- MathLog10
- MathLog1p
- MathDifference
- MathSample
- MathTukeySummary
- MathRange
- MathMin
- MathMax
- MathSum
- MathProduct
- MathStandardDeviation
- MathAverageDeviation
- MathMedian
- MathMean
- MathVariance
- MathSkewness
- MathKurtosis
- MathExpm1
- MathSinh
- MathCosh
- MathTanh
- MathArcsinh
- MathArccosh
- MathArctanh
- MathSignif
- MathRank
- MathCorrelationPearson
- MathCorrelationSpearman
- MathCorrelationKendall
- MathQuantile
- MathProbabilityDensityEmpirical
- MathCumulativeDistributionEmpirical
MathRound
Rounds a double-precision floating-point number or an array of such numbers to the specified number of decimal places.
Version for rounding a double-precision floating-point number to the specified number of decimal places:
double MathRound(
|
Return Value
A number nearest to the x parameter, with the number of decimal places equal to digits.
Version for rounding an array of double-precision floating-point numbers to the specified number of decimal places. The results are output to a new array.
bool MathRound(
|
Return Value
Returns true if successful, otherwise false.
Version for rounding an array of double-precision floating-point numbers to the specified number of decimal places. The results are output to the original array.
bool MathRound(
|
Return Value
Returns true if successful, otherwise false.
Parameters
x
[in] Double-precision floating-point number to be rounded.
digits
[in] The number of decimal places in the returned value.
array[]
[in] Array of double-precision floating-point numbers to be rounded.
array[]
[out] Array of output values.
result[]
[out] Array of output values.