Java Types (i.e., Double Float) Help
I am trying to mimic a Visual Basic 6 program that uses single persion;
Single(single-precision floating-point)- 4 bytes
-3.402823E38 to -1.401298E-45 for negative values; 1.401298E-45 to 3.402823E38 for positive values.
I am having problems with calculations and think its because of Java's Type persion. Does anyone know of away to convert a Java float or a double into a VB equivalent single percision value?
Well if it helps a "float" corresponds to a single precision, and a "double" corresponds to a double precision value in Java.
They conform to the IEEE 754 standard. I don't know if VB 6 does. But if it does they should be compatible.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center