W3C home > Mailing lists > Public > www-svg@w3.org > August 1999

Re: Use of scientific notation

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Wed, 11 Aug 1999 06:04:21 -0700
Message-Id: <199908111301.GAA25221@mail-345.corp.Adobe.COM>
To: Ben Hutchings <benh@lsl.co.uk>
Cc: www-svg@w3.org
Ben,
Good question. The working group hasn't addressed this issue yet, but given
the name of the language (**scalable** vector graphics) and our desire to
satisfy a broad spectrum of needs, it seems likely that we would support
scientific notation wherever possible, but stay tuned while the working
group makes decisions.

One specific issue will be what to do about CSS properties. The CSS2 spec
only talks about decimal numbers without an exponent. SVG has some numeric
properties (e.g., font-size, letter-spacing, word-spacing) which
conceivably could also be expressed in scientific notation.

Jon

At 02:54 PM 8/2/99 +0100, you wrote:
>In path data it is allowable to use scientific notation for numbers in
>the format that the C language printf/scanf-family supports.
>
>Is this allowable anywhere else?
>
>In particular, can it be used in:
>- lengths in CSS units?
>- the fitBoxToViewport attribute of <svg>?
>- element positions and sizes (x, y, width, height attributes) in user
>  coordinates?
>- the transform attribute?
>- the points attribute of <polyline>?
> 
Received on Wednesday, 11 August 1999 09:02:47 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:17 GMT