Tuesday, March 9, 2010

Check if String is Number

String nbrStr = "30239023902390239023902323"
boolean b = nbrStr.isNumber()
assert b == true

No comments:

Post a Comment