Java Long Number From toLongMin(double[] in, long[] out)

Here you can find the source of toLongMin(double[] in, long[] out)

Description

to Long Min

License

Open Source License

Declaration

public static void toLongMin(double[] in, long[] out) 

Method Source Code

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

public class Main {
    public static void toLongMin(double[] in, long[] out) {
        for (int i = 0; i < in.length; i++) {
            long newcoord = (long) Math.floor(in[i]);
            if (newcoord < out[i])
                out[i] = newcoord;//from  w w  w  . ja va  2s .  c  om
        }
    }
}

Related

  1. toLongitude(long fsuipcLongitude)
  2. toLongitude(String latLng)
  3. toLongLE(byte target[], int offset, int numBytes, long value)
  4. toLongList(String valus)
  5. toLongMatrix(Number[][] matrix)
  6. toLongObject(Object obj)
  7. toLongs(byte[] bytes)
  8. toLongs(byte[] readBuffer, int o, int l)
  9. toLongs(byte[] value, int offset, int num)