List of utility methods to do Float to Long
Long | floatToLong(final float value) float To Long return (long) value; |
Long | floatToLong(float f) float To Long if (f >= Long.MIN_VALUE && f <= Long.MAX_VALUE) { return (long) f; return null; |
long[] | floatToLong(float[] values) float To Long if (values == null) { return null; long[] results = new long[values.length]; for (int i = 0; i < values.length; i++) { results[i] = (long) values[i]; return results; ... |