Announcement

Collapse
No announcement yet.

How to remove extended decimals

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to remove extended decimals

    How do you get the to no more then 2 decimal places.

    <TABLE cellSpacing=1 cellPadding=0 width="100%" border=0><TBODY><TR><FORM name=chkOPForm8342 method=post><TD class=tablerowodd noWrap align=middle><INPUT class=formcheckbox onclick=buildList(this); type=checkbox value=8342 name=chkOP8342> </TD></FORM><TD class=tablecellcustom id=dv8342> 0.429999999999999 In </TD><TD class=tablerowodd>Green Acres Weather</TD></TR></TBODY></TABLE>

    Thanks

    Thom

    #2
    dim x
    x=24.13278
    response.write(Round(x,2))
    Output:24.13
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment

    Working...
    X