Source code

Revision control

Copy as Markdown

Other Tools

function testDoubleToStr() {
var x = 0.0;
var y = 5.5;
for (var i = 0; i < 200; i++) {
x += parseFloat(y.toString());
}
return x;
}
assertEq(testDoubleToStr(), 5.5*200);