List of utility methods to do Float Number Convert to
long | convertFloatToHex(float floatValue) Convert a float value to a hex value given as a long. return Float.floatToIntBits(floatValue) & 0xFFFFFFFFL;
|
String | convertFloatToString(float value) convert Float To String return Float.toString(value);
|
float | convertFloatValue(String data) Conversion to Float from String. float ret = -1.0f; if (data != null) { try { ret = Float.valueOf(data); } catch (NumberFormatException e) { ret = -1.0f; return ret; |
double[] | convertFloatVecToDoubles(float[] input) convert Float Vec To Doubles if (input == null) { return null; double[] output = new double[input.length]; for (int i = 0; i < input.length; i++) { output[i] = input[i]; return output; ... |