Here you can find the source of minNum(Number iArr[])
public static Number minNum(Number iArr[])
//package com.java2s; public class Main { public static Number minNum(Number iArr[]) { if (iArr == null || iArr.length <= 0) { return null; }// w w w.j a va 2 s . co m Number rtn = iArr[0]; for (int i = 1; i < iArr.length; i++) { if (rtn.doubleValue() < iArr[i].doubleValue()) { continue; } if (rtn.doubleValue() > iArr[i].doubleValue()) { rtn = iArr[i]; continue; } } return rtn; } }