[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: string to float, double, ..

Fadly wrote:

> hello all,
> i've made a simple numeric analysis programs ..
> but when it comes to converting string to float ..
> i get stuck .. :(( 
> i don't know  the method for converting string to float ..
> what i know is just string to integer conversion
> using Integer.parseInt()..

    float Float.parseFloat(String)
    Float Float.valueOf(String)
    double Double.parseDouble(String)
    Double Double.valueOf(String)
Edouard G. Parmelan

Reply to: