Here you can find the source of doubleToInt100000(double d)
public static int doubleToInt100000(double d)
//package com.java2s; public class Main { public static int doubleToInt100000(double d) { return (int) (d * 100000.0 + 0.5); }/* w ww.ja va2 s . c om*/ }