Getting 'N/D' to eval as a fraction not a decimal
03-10-2015, 06:26 AM
Post: #10
 cyrille de brébisson Senior Member Posts: 1,047 Joined: Dec 2013
RE: Getting 'N/D' to eval as a fraction not a decimal
Hello,

the subst solution is indeed the 'proper' one as it represents what you are really trying to acheive, replace N and D in the N/D expression by their values. Even if the syntax can look strange and confusing...

The string solution EXPR(N+"/"+D) is much less confusing, but most likely slower...

All the approaches using the CAS will be slower..

Cyrille
 « Next Oldest | Next Newest »

 Messages In This Thread Getting 'N/D' to eval as a fraction not a decimal - BruceH - 03-05-2015, 07:57 AM RE: Getting 'N/D' to eval as a fraction not a decimal - Joe Horn - 03-06-2015, 03:50 AM RE: Getting 'N/D' to eval as a fraction not a decimal - BruceH - 03-06-2015, 08:32 PM RE: Getting 'N/D' to eval as a fraction not a decimal - Joe Horn - 03-07-2015, 01:48 AM RE: Getting 'N/D' to eval as a fraction not a decimal - BruceH - 03-07-2015, 06:31 AM RE: Getting 'N/D' to eval as a fraction not a decimal - Joe Horn - 03-09-2015, 02:21 AM RE: Getting 'N/D' to eval as a fraction not a decimal - BruceH - 03-09-2015, 10:21 PM RE: Getting 'N/D' to eval as a fraction not a decimal - Joe Horn - 03-10-2015, 04:24 AM RE: Getting 'N/D' to eval as a fraction not a decimal - Han - 03-10-2015, 03:46 AM RE: Getting 'N/D' to eval as a fraction not a decimal - cyrille de brébisson - 03-10-2015 06:26 AM RE: Getting 'N/D' to eval as a fraction not a decimal - Joe Horn - 03-11-2015, 04:23 AM RE: Getting 'N/D' to eval as a fraction not a decimal - cyrille de brébisson - 03-11-2015, 06:18 AM RE: Getting 'N/D' to eval as a fraction not a decimal - Joe Horn - 03-11-2015, 06:23 PM

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