TNumberRound(TNumber) Method

Rounds a value to a specified number of fractional digits.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.67.9018.0
C#
public TNumber Round(
	TNumber value
)

Parameters

value  TNumber
The number of fractional digits in the return value.

Return Value

TNumber
A value rounded to a specified number of fractional digits.

Exceptions

GeneralExceptionThrows on rounding coefficient error.

See Also