first of all, it's nothing with "virtualcafe".then you should declare a "long"
long num = 0l;and you should catch bad formatter of number exception.
try {your parse code;} catch (exception e) {
do something you like;
}
long num = 0l;and you should catch bad formatter of number exception.
try {your parse code;} catch (exception e) {
do something you like;
}
double num = Double.parseDouble(str);