Utils.fractionToDouble

Transforms a fraction to a gdouble.

class 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. out

Meta