Dear Geoff Schaller:
On Feb 16, 1:50Â*pm, "Geoff Schaller"
<geo...@softwarexobjectives.com.au> wrote:
>
> Neither of these calculators do that. So
> I guess they don't exist (and I don't expect
> them to).
There are five of them. Mathematica:
http://www.wolframalpha.com/
The two calculators that may require modules your browser has disabled
Google (converting 5/8):
http://lmgtfy.com/?q=5%2F8
.... and of course the AutoCAD calculator I provided a link for.
I assumed by "visualise", you were asking for examples of how programs
handle "mixed numeric mode" input. So were you looking for VO code?
If we were talking Clipper, I'd set up a case statement in a UDF
called from a VALID clause, look for "√" and process the string if
present, then "/" and process the fraction, then just process the
string into a float, finally convert the float into a string (with SET
DECIMALS figured in, or sent as a parameter) and replace the input
text with its decimal equivalent. The real kicker is when you have a
"-" in the middle of the string...
6'5-1/2"
.... the 1/2" is additive...
David A. Smith