BaseEntryRound(BaseEntry, TDouble) Method

Rounds a value to a specified number of fractional digits using the specified rounding convention.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.67.9018.0
C#
public BaseEntry Round(
	BaseEntry value,
	TDouble type
)

Parameters

value  BaseEntry
The number of fractional digits in the return value.
type  TDouble
One of the enumeration values that specifies which rounding strategy to use.

Return Value

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

Exceptions

GeneralExceptionThrows on rounding coefficient error.

See Also