Getting 'N/D' to eval as a fraction not a decimal

03062015, 03:50 AM
Post: #2




RE: Getting 'N/D' to eval as a fraction not a decimal
(03052015 07:57 AM)BruceH Wrote: In a program, I want to generate a fraction e.g. The following works in Home programs IF both N and D are integers AND you make sure that the "Change apparent integers into exact integers" setting in CAS Settings (page 1, check box at end of line 3) is checked: print(simplify(N/D)) An elegant solution that always works (and doesn't rely on nonprogrammable CAS settings) would be greatly appreciated. <0ɸ0> Joe 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)