Is there an option to have the parser return readInt("nine hundred and twelve forty five") = -1, since it's not a valid number instead of adding the two numbers together, i.e.: 912 + 45 ?
If not, any pointers on where I might add this best in the code?
Is there an option to have the parser return
readInt("nine hundred and twelve forty five")=-1, since it's not a valid number instead of adding the two numbers together, i.e.:912 + 45?If not, any pointers on where I might add this best in the code?