Posted By:
bai_yanchun
Posted On:
Monday, September 16, 2002 07:08 AM
The default value of float column "Salary" is such as "1234.0000000000000000",but I want the result of display is 1234.00 or 1,234.00. Thanks! Here is my jsp source: <%@ page contentType="text/html; charset=GBK" %> <%@ page import="com.borland.internetbeans.*,com.borland.dx.dataset.*,com.borland.dx.sql.dataset.*" %> <%@ taglib uri="/internetbeans.tld" prefix="ix" %> TestDxJsp <% pageContext.setAttribute( "employee", dm.getPersonnelClientDataSet()); dm.getPersonnelClientDataSet().refresh(); %> Employees <% list.se
More>>
The default value of float column "Salary" is such as "1234.0000000000000000",but I want the result of display is 1234.00 or 1,234.00. Thanks!
Here is my jsp source:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.borland.internetbeans.*,com.borland.dx.dataset.*,com.borland.dx.sql.dataset.*" %>
<%@ taglib uri="/internetbeans.tld" prefix="ix" %>
TestDxJsp
<%
pageContext.setAttribute( "employee", dm.getPersonnelClientDataSet());
dm.getPersonnelClientDataSet().refresh();
%>
Employees
<%
list.setStartRow(1);
list.setRowCount(10);
%>