I\'m validating user input from a form.
I parse the input with NumberFormat, but it is evil and allow almost anything. Is there any way to parse number more strict?
Use DecimalFormat with a format pattern string.