I am a PLC programmer, not a .ASP guy, and don’t know how to write the code for getting the result I need. I have a PLC tag I read for my web display, but I would like to show only the first two numbers after the decimal point. I don’t know if I can format the body to do that.
This is my code:
<td align="left" height="24" style="width: 262px"><b>NF1:<% ReadLogixTagUnconnecte("1,0","NF1_FT14101", "REAL");%>GPM</b></td>
This is how it displays now: NF1:15.2013
This is what I will like to have: NF1:15.20
I tried the following but it will not even show a value:
<td align="left" height="24" style="width: 262px"><b>NF1:<% ReadLogixTagUnconnected("1,0","NF1_FT14101", "REAL");%>.TOSTRING(0.00)>GPM</b></td>