I have to convert string welcome into number format. But when I'm going to execute it throws exception
Exception in thread "main" java.text.ParseException: Unparseable number: "Welcome"
    at java.text.NumberFormat.parse(Unknown Source)
    at sample.Sam.main(Sam.java:13)
package sample;
import java.text.DecimalFormat;
import java.text.ParseException;
public class Sam {
    public static void main(String[] args) throws ParseException {
        // TODO Auto-generated method stub
            String str="Welcome,@123";
            DecimalFormat df = new DecimalFormat(str);
            System.out.println( df.parse(str));
    }
}
 
     
     
     
     
    