in reply to Re^2: how to convert fractional string to decimal numbers ?
in thread how to convert fractional string to decimal numbers ?
Another example that won't match that particular case is something like "3-1/2", which I've seen used fairly often to convey the notion of "3.5" rather than "2.5"; things like this can be accommodated, of course, but you really need to be clear about what the conventions are for a given input source (and take the trouble to enforce these conventions by rejecting violations).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to convert fractional string to decimal numbers ?
by tilly (Archbishop) on Dec 17, 2008 at 07:39 UTC |