You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if we'd get any more than Exception in thread "main" java.lang.NumberFormatException: For input string: "100.95" which the JDK Integer class gives when trying to parse a decimal string. The "75 kg" would require the correct value after it was parsed, we cannot assume or construct that in this particular situation, but showing all or the relevant section of that compound string looks doable.
No Unit found
is not descriptive at all.We should at least make that error message more clear for cases like:
Our assumption for parsing a compound quantity is that there will be a space character between the value and the unit
The text was updated successfully, but these errors were encountered: