CInt Errors

Bliss

Perch
How do you debug this?
Variable uses an Automation type not supported in VBScript: 'CInt' /portal_docs/zbase/display.asp, line 78

That line would be

<img src="images/<% CInt(""& intRating &"")%>.gif"> <% = rsDisplay("FaqTotalRatings") %> Votes

It's a little rating thing I came up with to show the right image to reflect the rating. intRating is a rating, but it's based on rating / # of people who voted, and I need it to be rounded to an integer, so I used CInt, but apparently I've used it wrong.
 
Back
Top