ResultOptions Constructor
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public ResultOptions(
int decimalPlaces,
int exponentialThreshold,
FractionsType fractionType,
bool useMixedNumbers,
bool trailingZeros,
bool significantDigits,
MidpointRounding rounding
)
Public Sub New (
decimalPlaces As Integer,
exponentialThreshold As Integer,
fractionType As FractionsType,
useMixedNumbers As Boolean,
trailingZeros As Boolean,
significantDigits As Boolean,
rounding As MidpointRounding
)
public:
ResultOptions(
int decimalPlaces,
int exponentialThreshold,
FractionsType fractionType,
bool useMixedNumbers,
bool trailingZeros,
bool significantDigits,
MidpointRounding rounding
)
new :
decimalPlaces : int *
exponentialThreshold : int *
fractionType : FractionsType *
useMixedNumbers : bool *
trailingZeros : bool *
significantDigits : bool *
rounding : MidpointRounding -> ResultOptions
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.