W3C home > Mailing lists > Public > public-device-status@w3.org > November 2011

Battery API: make level a double instead of a float

From: Mounir Lamouri <mounir@lamouri.fr>
Date: Tue, 01 Nov 2011 19:07:52 +0100
Message-ID: <4EB03578.5050004@lamouri.fr>
To: public-device-status@w3.org

It would probably be better to have the level attribute being a double 
instead of a float. Not that the gain in precision is crucial but 
Javascript is using double precision floating point numbers so using 
them in our interfaces would be better.

Received on Tuesday, 1 November 2011 18:08:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 November 2011 18:08:25 GMT