Post Reply 
Getting 'N/D' to eval as a fraction not a decimal
03-06-2015, 08:32 PM
Post: #3
RE: Getting 'N/D' to eval as a fraction not a decimal
(03-06-2015 03:50 AM)Joe Horn Wrote:  An elegant solution that always works (and doesn't rely on non-programmable CAS settings) would be greatly appreciated.

Well, I found a solution that (I think) always works, but it sure ain't elegant!

subst(N/D,N=N,D=D); gives '1/2'
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Getting 'N/D' to eval as a fraction not a decimal - BruceH - 03-06-2015 08:32 PM



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