TNumber.Round(TNumber) Method

Rounds the value to the specified number of fractional digits.

Definition

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

Parameters

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

Return Value

TNumber
The value rounded to the specified number of fractional digits.

Exceptions

GeneralExceptionThrown if the number of fractional digits is invalid.

See Also