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