src/share/classes/java/lang/Float.java

Print this page

        

*** 549,559 **** * * @return a {@code String} representation of this object. * @see java.lang.Float#toString(float) */ public String toString() { ! return String.valueOf(value); } /** * Returns the value of this {@code Float} as a {@code byte} (by * casting to a {@code byte}). --- 549,559 ---- * * @return a {@code String} representation of this object. * @see java.lang.Float#toString(float) */ public String toString() { ! return Float.toString(value); } /** * Returns the value of this {@code Float} as a {@code byte} (by * casting to a {@code byte}).