Click or drag to resize
BigRational Constructor (Decimal)

[This is preliminary documentation and is subject to change.]

Initializes a new instance of the BigRational struct. The Decimal type represents floating point numbers exactly, with no rounding error. Values such as "0.1" in Decimal are actually representable, and convert cleanly to BigRational as "11/10"

Namespace: NForza.Transit.Numerics
Assembly: Transit (in Transit.dll) Version: 0.8.1-alpha
Syntax
C#
public BigRational(
	decimal value
)

Parameters

value
Type: SystemDecimal
The value.
Exceptions
ExceptionCondition
ArgumentExceptioninvalid Decimal;value
See Also