[Bugs] #2537 UNSP: Calculate doesn't accept ", " as a decimal separator when set to Spanish locale

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Dec 24 08:08:21 EST 2010


#2537: Calculate doesn't accept "," as a decimal separator when set to Spanish
locale
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  rwh                        
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Calculate                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by walter):

 Attached is a version that is a bit more simple in that it uses regex. It
 also catches a few more cases, such as when a trailing decimal is omitted
 after the fraction separator. Please test.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2537#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list