W3C home > Mailing lists > Public > www-style@w3.org > February 2010

Re: Scientific notation in numbers

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Wed, 10 Feb 2010 16:07:39 -0800
To: W3C Emailing list for WWW Style <www-style@w3.org>
Message-ID: <20100210160739.4dd12e47@mozilla.com>
Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> On 2/10/10 6:09 PM, Zack Weinberg wrote:
> > Additional observation: in both SVG 1.1 and SVG Tiny 1.2,
> > scientific-notation numbers are defined as matching this regular
> > expression
> >
> >    [+-]?(([0-9]*\.)?[0-9]+)[Ee][0-9]+
> >
> > (they don't use those words but that's what it comes out to).
> 
> That doesn't seem to match what I'm seeing.  In particular, 
> http://www.w3.org/TR/SVG/types.html#DataTypeInteger explicitly says
> that <integer> has an optional sign, and 
> http://www.w3.org/TR/SVG/types.html#DataTypeNumber says that the 'e'
> or 'E' is followed by an <integer>....

Oops, you're right.  I was confused by the SVG Tiny language.

zw
Received on Thursday, 11 February 2010 00:08:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:24 GMT