Here you can find the source of minInt(double d)
public static int minInt(double d)
//package com.java2s; /* /*from w ww. j a va 2s .c om*/ * Copyright (c) 1994-2009 Routdata * All rights reserved. * * This software is the confidential and proprietary information of Finalist IT Group, Inc. * You shall not disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into with Teamsun. * */ public class Main { public static int minInt(double d) { return (int) Math.floor(d); } }