Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static boolean isNotDouble(String str) {
return !isDouble(str);
}
public static boolean isDouble(String str) {
try {
Double.valueOf(str);
return true;
} catch (Exception e) {
}
return false;
}
}