percy dyer

  1. P

    input value does not take currency format

    1) <input NAME="PRICE" onChange="dosum()" value="<%=String.Format(”{0:$#,##0.00;($#,##0.00);Zero}”, m_curPrice)%>"> 2) <%=String.Format(”{0:$#,##0.00;($#,##0.00);Zero}”, m_curPrice)%></td> The previous code 1 and 2 generates the following: 1) 9800000.00 AND 2) $9,800,000.00 So as you can see...
Top Bottom