Subversion Repositories eFlore/Applications.coel

Compare Revisions

Regard whitespace Rev 1895 → Rev 1896

/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);
}
}-*/;
}
/trunk/src/org/tela_botanica/client/util/UtilNombre.java
8,4 → 8,16
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;
}
}