FixedPointDecimal.FixedPointDecimal

FixedPointDecimal(int, int)

Initializes a new instance of the FixedPointDecimal class.

public FixedPointDecimal(int integer, int fraction)
ParameterTypeDescription
integerInt32The integer.
fractionInt32The fraction.

See Also


FixedPointDecimal(long)

Initializes a new instance of the FixedPointDecimal class. Split the high and low words of a 32-bit integer into a fixed-point number.

public FixedPointDecimal(long value)
ParameterTypeDescription
valueInt64The value.

See Also


FixedPointDecimal(double)

Initializes a new instance of the FixedPointDecimal class.

public FixedPointDecimal(double value)
ParameterTypeDescription
valueDoubleThe value.

Exceptions

exceptioncondition
OverflowException

See Also