HTML code problem

G

Guest

Dear Sirs
I have the following code in my html page:

<tr>
<td align="left" valign="top"
class="formpagetablelabel"> initialinvestment</td>
<td class="formpagetablelabel" align="right"><input
class="formpagetablefield" type="number" name="initialinvestment" size="8"
Value="<%=Session("initialinvestment")%>"><font class="formpagetablefield">
US$</div></td>
</tr>

This command takes data from my database and shows the value in the
formpagetablefield as a number.
I would like that the Value="<%=Session("initialinvestment")%>" has the
following format: "$#.##0,00;($#.##0,00)[Red]" if possible with 2 digits
behind the comma.

How do I have to change the code to get the result?

Many thanks in advance
Klaus
 
S

Stefan B Rusynko

See my response of today to one of your many other multiple threads
- posting the same question multiple times will not get you an answer any sooner and often will get you no answers

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Dear Sirs
| I have the following code in my html page:
|
| <tr>
| <td align="left" valign="top"
| class="formpagetablelabel"> initialinvestment</td>
| <td class="formpagetablelabel" align="right"><input
| class="formpagetablefield" type="number" name="initialinvestment" size="8"
| Value="<%=Session("initialinvestment")%>"><font class="formpagetablefield">
| US$</div></td>
| </tr>
|
| This command takes data from my database and shows the value in the
| formpagetablefield as a number.
| I would like that the Value="<%=Session("initialinvestment")%>" has the
| following format: "$#.##0,00;($#.##0,00)[Red]" if possible with 2 digits
| behind the comma.
|
| How do I have to change the code to get the result?
|
| Many thanks in advance
| Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top