Just as title says. I don\'t believe it is possible to do this but if it is let me know.
This is needed for a bukkit (minecraft server) plugin I\'m writing. I want
Try this:
String yourVal = "20.5"; float a = (Float.valueOf(yourVal)).floatValue(); System.out.println(a);