wood burning stoves 2.0*
The moose likes JSP and the fly likes string float conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "string float conversion" Watch "string float conversion" New topic
Author

string float conversion

ankur mawandia
Greenhorn

Joined: Jan 10, 2011
Posts: 12

I want to convert a string to a float value on a jsp page
how can i do so?


thnx in advance


may the force be with you
prem pillai
Ranch Hand

Joined: Nov 02, 2007
Posts: 87

check java.lang.Float

And then let us know what did you find there .
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60738
    
  65

If your JSP page is correctly coded with the JSTL and EL and without scriptlets, this is not something you ever need to do. You aren't putting Java code in your JSP, are you?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: string float conversion
 
Similar Threads
Float blues
floats and Float objects
Error in KnB book ?
conversion from String to any data type
GC doubt