I have a variable coming through an XML string into my .asp page (payamt). I need to send this through to be processed, but...I also need to create a NEW field called "totalamount". The totalamount should be equal to the payamt * 3%. I've tried making sure that the fields are set as Integers, but I keep getting a "Type Mismatch" error. I have a looming deadline...please help!
Set objpayamt = xmlDoc.getElementsByTagName("payamt")
varpayamt = objpayamt.item(0).text
Dim convfee
Dim payamt
Dim totalamount
Set payamt = CInt("varpayamount")
Set totalamount = ("payamt" * .03)