ResultOptions Constructor

Default constructor of the ResultOptions class.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public ResultOptions(
	int decimalPlaces,
	int exponentialThreshold,
	FractionsType fractionType,
	bool useMixedNumbers,
	bool trailingZeros,
	bool significantDigits,
	MidpointRounding rounding
)

Parameters

decimalPlaces  Int32
Number of decimal places in the result.
exponentialThreshold  Int32
Exponential threshold of the result value.
fractionType  FractionsType
Type of the fractions on output.
useMixedNumbers  Boolean
Determines whether to show result as a combination of a whole number and a proper fraction.
trailingZeros  Boolean
Determines whether trailing zeros must be displayed or not.
significantDigits  Boolean
Determines whether answer should be displayed in significant digits mode.
rounding  MidpointRounding
Mathematical rounding method to process a number that is midway.

See Also