An Automatic Data Conversion : Data Type « JSP « Java Tutorial






<HTML>
  <HEAD>
    <TITLE>An Automatic Data Conversion</TITLE>
  </HEAD>

  <BODY>
    <H1>An Automatic Data Conversion</H1>
    <%
        double double1;
        float float1 = 1;

        double1 = float1;

        out.println("double1 = " + float1);
     %>
  </BODY>
</HTML>








23.3.Data Type
23.3.1.An Automatic Data Conversion
23.3.2.Casting to a New Type
23.3.3.Format Date
23.3.4.Date format