Utils.fractionToDouble

Transforms a fraction to a #gdouble.

struct Utils
static
void
fractionToDouble
(
int srcN
,
int srcD
,
out double dest
)

Parameters

srcN int

Fraction numerator as #gint

srcD int

Fraction denominator #gint

dest double

pointer to a #gdouble for the result

Meta