Fraction(Int32, Int32) Constructor

Initializes a new instance of the Fraction class.

Definition

Namespace: DevCase.Core.Math.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Fraction(
	int numerator,
	int denominator
)

Parameters

numerator  Int32
The number above the line in a fraction, showing how many of the parts indicated by the denominator are taken, for example, 1 in 1/2.
denominator  Int32
The number below the line in a fraction; a divisor, for example, 2 in 1/2.

See Also