Source code
Revision control
Copy as Markdown
Other Tools
/*
* Any copyright is dedicated to the Public Domain.
*/
assertEq(Math.round(9007199254740991), 9007199254740991);
assertEq(Math.round(-19007199254740990), -19007199254740990);
assertEq(Math.round("9007199254740991"), 9007199254740991);
assertEq(Math.round("-19007199254740990"), -19007199254740990);