求总价格,可是却显示不出来?该如何处理

求总价格,可是却显示不出来?%--------------------------------------rs.openselectnum,pricefromtestwh

求总价格,可是却显示不出来?
<%
'--------------------------------------
rs.open   "select   num,price   from   test   where   id   =2 "
'-----------------------------------
%>
合计金额: <input   name= "totalPrice "   type= "text "   id= "totalprice "   value= " <%=rs( "price ")%> * <%=rs( "num ")%> ">

显示结果为2*200       我想得到400的结果,该怎么做呢?

[解决办法]
value= " <%=rs( "price ") * rs( "num ")%> "
[解决办法]
乘号*没有写在 <%%> 里面,当然不会计算了