Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Float conversion: requires comma as floating point symbol.

 
Boris Romashov
Ranch Hand
Posts: 38
  • 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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic