Here you can find the source of getIntWithRound(float f)
public static int getIntWithRound(float f)
//package com.java2s; //License from project: Apache License public class Main { public static int getIntWithRound(float f) { return Math.round(f); }/*from w w w .j a v a 2 s. com*/ }