W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] finding a number...

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 12 Dec 2006 14:36:12 +0100
Message-ID: <op.tkf72mc864w2qv@id-c0020>
On Tue, 12 Dec 2006 14:31:23 +0100, Henri Sivonen <hsivonen at iki.fi> wrote:
>> why does finding a number in text [1] insist on "." as a decimal  
>> seperator, when , is also very commonly used?
>
> I think the format should be kept simple (and potentially politically  
> incorrect), because the human-readability is only a legacy fallback  
> issue. That is, users aren't exposed to the number formatting in UAs  
> that actually implement progress bars and gauges.

You might also want to use this algorithm for the proposed class="price".  
In that case you really want to take into account "," as well.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 12 December 2006 05:36:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC