This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
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: 63208
    
  69

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]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: string float conversion
 
It's not a secret anymore!