Java Integer Create toInt(double in)

Here you can find the source of toInt(double in)

Description

to Int

License

Open Source License

Declaration

static int toInt(double in) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    static int toInt(double in) {
        return (int) Math.round(in);
    }//from ww w  .j a va 2s  .  co m
}

Related

  1. toInt(char[] bytes, boolean le)
  2. toInt(double d)
  3. toInt(double d)
  4. toInt(double d)
  5. toInt(double f)
  6. toInt(double num)
  7. toInt(double val)
  8. toInt(double value)
  9. toInt(double[] arr)