static int iround(double d) { ret (int) Math.round(d); } ifndef iround_noGeneric static int iround(Number n) { ret iround(toDouble(n)); } endifndef