hg: jdk9/sandbox/nashorn: 8155025: 0.001.toFixed(2) should return "0.00" not "0"

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Apr 28 08:46:16 UTC 2016


Changeset: fd2296436748
Author:    hannesw
Date:      2016-04-28 10:42 +0200
URL:       http://hg.openjdk.java.net/jdk9/sandbox/nashorn/rev/fd2296436748

8155025: 0.001.toFixed(2) should return "0.00" not "0"
Reviewed-by: jlaskey, hannesw
Contributed-by: andreas.woess at oracle.com

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java
+ test/script/basic/JDK-8155025.js
+ test/script/basic/JDK-8155025.js.EXPECTED



More information about the jdk9-sandbox-changes mailing list