File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "string float conversion" Watch "string float conversion" New topic

string float conversion

ankur mawandia

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

Joined: Jan 10, 2002
Posts: 63852

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: string float conversion
jQuery in Action, 3rd edition