public static double unboxToDouble(ENumber i) { return i.doubleValue(); }
public static double unboxToDouble(EObject i) { ENumber num; if ((num = i.testNumber()) == null) throw ERT.badarg(i); return num.doubleValue(); }
public static int unboxToInt(ENumber i) { return i.intValue(); }