diff -r d65b3a2fbfaf -r 033d51e026b0 emul/src/main/java/java/lang/Float.java --- a/emul/src/main/java/java/lang/Float.java Sun Sep 30 18:29:37 2012 -0700 +++ b/emul/src/main/java/java/lang/Float.java Tue Oct 23 16:50:27 2012 +0200 @@ -25,6 +25,8 @@ package java.lang; +import org.apidesign.bck2brwsr.core.JavaScriptBody; + /** * The {@code Float} class wraps a value of primitive type * {@code float} in an object. An object of type @@ -190,6 +192,7 @@ * @param f the float to be converted. * @return a string representation of the argument. */ + @JavaScriptBody(args="d", body="return d.toString();") public static String toString(float f) { throw new UnsupportedOperationException(); // return new FloatingDecimal(f).toJavaFormatString();