File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Float conversion: requires comma as floating point symbol.

 
Boris Romashov
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a float field on my form. When I type 1.1 (point as floating point symbol) it shows conversion error

But I do have a method
If I type 1,1 (comma as floating point symbol) everything goes well but if there were errors on the form, on the redisplayed form I see 1.1

Why Struts requires comma for conversion but uses point for displaying ?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic