Friday, February 28, 2014

Re: Best alternative for Character.getNumericValue(ch)?

Integer.parseInt("" + ch, 36) should do it, otherwise, simply "('0' <= ch && ch<= '9') ? ch - '0' : ch - 'A' + 10"

On Thursday, February 27, 2014 11:35:31 AM UTC+1, Ed wrote:
I need to use the method Character.getNumericValue(character) for Iban account nr validation (the modulo calculation part: LINKE)

However this method isn't supported by GWT. What is my (best) alterantive?

The method for modulo calculation can also be find in the Apache commons: LINKE, method calculateModulus()

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment