Fraction(Int32, Int32) Constructor
Initializes a new instance of the
Fraction class.
Namespace: DevCase.Core.Math.CommonAssembly: 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
)
Public Sub New (
numerator As Integer,
denominator As Integer
)
Dim numerator As Integer
Dim denominator As Integer
Dim instance As New Fraction(numerator,
denominator)
public:
Fraction(
int numerator,
int denominator
)
new :
numerator : int *
denominator : int -> Fraction
No code example is currently available or this language may not be supported.
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.