If the next token matches the Decimal regular expression defined above then the token is converted into a BigDecimal value as if by removing all group separators, mapping non-ASCII digits into ASCII digits via the {@link Character#digit Character.digit}, and passing the resulting string to the {@link java.math.BigDecimal#BigDecimal(java.lang.String) BigDecimal(String)}constructor. @return the BigDecimal scanned from the input @throws InputMismatchException if the next token does not match the Decimal regular expression, or is out of range @throws NoSuchElementException if the input is exhausted @throws IllegalStateException if this scanner is closed
|
|
|
|
|
|
|
|
|
|