This code doesn't even compile. Try passing showMessageDialog( null, new Float( fer ) ) There is no version of the shoMessageDialog method that takes a float as one of its parameters.
-gc
11-19-2002, 12:54 AM
talliah
soooooooooo.....
Is there a way to change float back to String...?
Thank you for your help!!
11-19-2002, 12:51 PM
godcomplex
float f = 1.20;
String floatString = Float.parseFloat( f );