/** coerce an object to a Long */
public static long toLong(Object o) { return toNumber(o).longValue(); }
+ /** coerce an object to an Int */
+ public static int toInt(Object o) { return toNumber(o).intValue(); }
+
/** coerce an object to a Double */
public static double toDouble(Object o) { return toNumber(o).doubleValue(); }