Bug 16528 - Rounding
Rounding
Status: RESOLVED WONTFIX
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL
unspecified
PC All
: P2 normal
: ---
Assigned To: Cameron McCormack
public-webapps-bugzilla
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-26 16:29 UTC by Marcos Caceres
Modified: 2012-03-27 00:15 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2012-03-26 16:29:41 UTC
The spec says "Round x to the nearest integer, choosing the even integer if it lies halfway between two."

Just wondering, why was ECMAScript ToInteger not used?
Comment 1 Marcos Caceres 2012-03-26 16:31:59 UTC
or even ECMAScript round() http://es5.github.com/#x15.8.2.15
Comment 2 Cameron McCormack 2012-03-27 00:15:44 UTC
It's what Boris suggested: http://lists.w3.org/Archives/Public/public-script-coord/2011JulSep/0258.html