Below is Viraj's answer to get primitive type of Float.
>Float val= new Float(variable);//Its float wrapper
>float value=val.floatValue();/*Its method of Float class converting the
>Float object into primitive data type float */

Below is Pradeep's answer to get primitive type of Float.
>Float.parseFloat()(String str).
Actually, It should be Float.parseFloat(String str) though...anyway,

Pradeep's answer is faster, since you don't make a new
Object(instanciate)...

-fumitada

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to