TNumberRound(TNumber, TNumber) Method
Rounds a value to a specified number of fractional digits using the specified rounding convention.
Namespace: SMath.Math.NumericAssembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.67.9018.0
public TNumber Round(
TNumber value,
TNumber type
)
Public Function Round (
value As TNumber,
type As TNumber
) As TNumber
public:
TNumber^ Round(
TNumber^ value,
TNumber^ type
)
member Round :
value : TNumber *
type : TNumber -> TNumber
- value TNumber
- The number of fractional digits in the return value.
- type TNumber
- One of the enumeration values that specifies which rounding strategy to use.
TNumberA value rounded to a specified number of fractional digits.