In the specification you say
If a sequence of characters could be interpreted as an decimal or a fraction, then fraction should have precedence.
Can you clarify how the following sequence should be parsed:
5.5/45
Is the correct way to parse this as 5. then 5/45?
How about the example
5/5.5
Should this be parsed as 5/5 (fraction) and 5 (decimal)
How should a compounded fraction such as 3/5/4 be parsed? Is reading that as 3/5 (fraction) and 4 (decimal) the correct response?
I'm probably over thinking this but wanted to check.
In the specification you say
Can you clarify how the following sequence should be parsed:
5.5/45Is the correct way to parse this as 5. then 5/45?
How about the example
5/5.5Should this be parsed as 5/5 (fraction) and 5 (decimal)
How should a compounded fraction such as 3/5/4 be parsed? Is reading that as 3/5 (fraction) and 4 (decimal) the correct response?
I'm probably over thinking this but wanted to check.