[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 31 18:30:45 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 garycmartin):

 Replying to [comment:5 walter]:
 > Note that the regression mentioned above seems to have been due to some
 error on my part... a fresh clone before applying my patch works fine.

 Here are some cases that fail with the latest patch:

 Input: plot(x!^2,x=-2..2)
 Output: plot(x!^2.x=-2..2)
 Error en 11: Error de procesamiento

 Input: plot(x**2,x=-2..2)
 Output: plot(x^2^.x=-2..2)
 Error en 11: Error de procesamiento

 Input: add(10,5)
 Output: add(10.5)
 Error en 1: add() takes exactly 2 arguments (1 given)

 Also typing 10,5+4,5 results in the correct answer of 15, but the output
 equation and history buffer is shown as 10.5+4.5

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


More information about the Bugs mailing list