@@ -165,6 +165,7 @@ import cs.internal.Exceptions;
if (div != 0.0)
break;
div = 1.0;
+ foundAny = true;
continue;
}
@@ -170,6 +170,7 @@ import java.internal.Exceptions;
@@ -0,0 +1,10 @@
+package unit.issues;
+
+class Issue3742 extends Test {
+ function test() {
+ eq( Std.parseFloat(".05"), .05 );
+ eq( Std.parseFloat(".005"), .005 );
+ eq( Std.parseFloat(".5"), .5 );
+ }
+}