A Revised Rational Proposal

J

John Roth

Mike Meyer said:
I don't think so, as I don't see it coming up often enough to warrant
implementing. However, Rational("x" / "y") will be an acceptable
string format as fallout from accepting floating point string
representations.

How would that work? I though the divide would be
evaluated before the function call, resulting in an exception
(strings don't implement the / operator).

John Roth
 
M

Mike Meyer

John Roth said:
How would that work? I though the divide would be
evaluated before the function call, resulting in an exception
(strings don't implement the / operator).

That was a mistake on my part. It would be Rational("x", "y").

<mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top