https://bugs.documentfoundation.org/show_bug.cgi?id=161837

--- Comment #4 from Mike Kaganski <[email protected]> ---
(In reply to Samuel Adesola from comment #3)
> Is there a simple conversion between double and Fraction that one can use?

If I were working on this task, I think I would try first to look at the
definition of the Fraction class; likely I would find include/tools/fract.hxx,
where in the definition of the class, I could see 'explicit operator double()
const', hinting me, that everywhere in a code like

  x = foo(aFract);

I could change it to

  x = updated_foo(double(aFract));

HTH

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to