Salve,
ho il seguente problema:

ho dichiarato un campo di una tabella mysql di nome "prezzo" come
DECIMAL(5,2)
dopodichè ho in una pagina.asp inserito il seguente codice:

a=request.querystring("a")
id=request.querystring("id")
sql="select* from annuncitre where id ="&id
set rs=conn.execute(sql)
prezzo=rs("prezzo")
c=a*prezzo

solo che ottengo il seguente errore:


Microsoft VBScript runtime error '800a000d'

Type mismatch

/public/simones70-1078/aggiungi-carrello.asp, line 9

Perchè!!!!!