Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1895 → Rev 1896

/trunk/src/org/tela_botanica/client/util/UtilNombre.java
7,5 → 7,17
public static String formaterEnEntier(double nombre) {
NumberFormat formatNbreEntier = NumberFormat.getFormat("#");
return formatNbreEntier.format(nombre);
}
}
public static boolean estUnNombre(String str) {
try
{
double d = Double.parseDouble(str);
}
catch(NumberFormatException nfe)
{
return false;
}
return true;
}
}
/trunk/src/org/tela_botanica/client/util/Debug.java
25,4 → 25,10
return "";
}
public static native void LogVersFirebug(Object o) /*-{
if (!!($wnd.console && $wnd.console.log)) {
console.log(o);
}
}-*/;
}