This content has been marked as final. Show 3 replies
Sorry the link nha khoa.com/showthread.php?t=1485 is wrong. but I can't edit it
To turn a String into a float:
float f = Float.parseFloat(string);
There are equivalent methods for all the Number types.
Also, look at the class Scanner, which is very helpful for parsing text files.