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
public class NumberFormatExceptionExample {
private static final String str = "123.234";
public static void main(String[] args){
float i = Float.valueOf(str); //Float.parseFloat(str);
System.out.println("Value parsed :"+i);
}
}
This should resolve the problem.
Can anyone suggest how should we handle this when the string comes in 35,000.00