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

Re: Battery API: make level a double instead of a float

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Tue, 1 Nov 2011 15:18:43 -0700
Cc: <public-device-status@w3.org>
Message-Id: <254A99F6-9FD5-4307-B49F-809D5FDECF82@nokia.com>
To: ext Mounir Lamouri <mounir@lamouri.fr>
On 1.11.2011, at 11.07, ext Mounir Lamouri wrote:

> Hi,
> 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.

Sure, I updated the spec.

Received on Tuesday, 1 November 2011 22:19:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:42:59 UTC