Link to home
Start Free TrialLog in
Avatar of jlcannon
jlcannon

asked on

ROund number to 1st decimal place in VBScript.

I am reading data from an excel file to an ASP via VBScript. In excel I have it set to round to the 1st place after the decimal but when I pull it to the web it shows the whole number, sometime 6 - 8 places after thedecimal. How can I round that number? The way I am getting the data is just as follows.

<td><%=rs.fields(5)%>&nbsp;</td>
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jlcannon
jlcannon

ASKER

perfect and concise.