double_to_fraction
Description:
public void double_to_fraction (
double src,
out int dest_n,
out int dest_d)
Transforms a double to a fraction and simplifies the result.
Parameters:
src |
double to transform
|
dest_n |
pointer to a int to hold the result numerator
|
dest_d |
pointer to a int to hold the result denominator
|