But the OP sentence is like a sudoku. 2 3/8 is ambiguous. It could be 2 pipes or a measurement. If you read all the way to the end you see that he bought 6 pipes so it must be a measurement.
This would be a great test for an AI language comprehension system though. Perhaps you are an AI?