#720: [PATCH] I18Nized Number validator
------------------------+---------------------------------------------------
 Reporter:  godoy       |        Owner:  anonymous
     Type:  defect      |       Status:  new      
 Priority:  normal      |    Milestone:           
Component:  TurboGears  |      Version:           
 Severity:  major       |   Resolution:           
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by godoy):

  * summary:  Number validator is not I18Nized => [PATCH] I18Nized Number
              validator

Comment:

 Here's the patch...  If somebody can take a look and do more tests with
 it, I'd appreciate (I've also tested with strings, as in the
 formencode.validators.Number example and it works as expected).

 I tried figuring out the number of decimal places and use format_decimal
 with this number.  If there is no decimal place, then I use format_number
 to return the number with the correct grouping.

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/720>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to