You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to atx-sw-m...@googlegroups.com
Hi,
This is regarding the issue that I discussed with Sukant and Lane during the meetup, but it might help anyone else tackling the chemistry balancing program.
To convert a float to a (meaningful) fraction, I found the Python method fractions.Fraction.limit_denominator(). As far as I can tell, it works pretty well; I haven't looked for a Java equivalent but it probably exists. Here is a link to the Python doc: http://docs.python.org/release/3.1.3/library/fractions.html.