Java Number Round Round(Object in)

Here you can find the source of Round(Object in)

Description

Round

License

Open Source License

Declaration

public static final void Round(Object in) 

Method Source Code

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

public class Main {
    public static final void Round(Object in) {
        if (in == null)
            return;
        if (in instanceof int[]) {
            int[] inn = (int[]) in;
            for (int i = 0, s = inn.length; i < s; i++)
                inn[i] = (int) (int) inn[i];
        } else {/*from w  ww  .  j  a  v a  2  s . c o  m*/
            for (int i = 0, s = ((Object[]) in).length; i < s; i++)
                Round(((Object[]) in)[i]);
        }
    }
}

Related

  1. round(int t, int n, int decimals)
  2. round(int top, int div2, int divisor)
  3. round(int x, int quantum)
  4. round(Integer a)
  5. round(Number number, Number unit)
  6. round(String num, int length)
  7. round4(int n)
  8. round_pow2(int x)
  9. round_up(int value, int multiple)