#1134: unexpected behavior of AgaviDecimalFormatter's thousand separators when
passing a number < 1000
-------------------------------------+--------------------------------------
 Reporter:  mec...@…                 |       Owner:  dominik
     Type:  task                     |      Status:  new    
 Priority:  low                      |   Milestone:  1.0.2  
Component:  util                     |     Version:  1.0.1  
 Severity:  normal                   |    Keywords:         
Has_patch:  0                        |  
-------------------------------------+--------------------------------------
Changes (by dominik):

  * owner:  david => dominik


Comment:

 Fix.plan:

 We add a new parameter $strict defaulting to false, which
 if false: retains the old behaviour, which simply ignores the thousand
 separator (except that it will return false when passed an empty string,
 which it doesn't do right now)
 if true: The locale is asked for the decimalFormat (if no locale given,
 the default #,##0.## is used) and the value is cecked if it fully matches
 the decimalFormat pattern so the case from above would return false in
 that case, since the thousand separators are not placed correctly

-- 
Ticket URL: <http://trac.agavi.org/ticket/1134#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to