src/share/classes/java/lang/Double.java

Print this page

        

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