Very odd problem

Results 1 to 2 of 2

Thread: Very odd problem

  1. #1
    Join Date
    Dec 1969

    Default Very odd problem

    &nbsp;<BR>I posted this earlier in the ASP Q&A forum, however the problem was not resolved, therefore I have posted here:<BR><BR><BR>Hi,<BR>I have an example of the problem now. Example, there are two products in the shopping basket:<BR><BR>product 1, quantity 1, price 29.95<BR>product 2, quantity 2, price 10.95<BR><BR>I am using the below code on a seperate page to summarise, as before:<BR><BR>&#060;%For row=0 To UBound(cartArray) <BR>subtotal = cdbl(cartArray(ITEM_PRICE,row)) * cdbl(cartArray(ITEM_QUANTITY,row)) <BR>total=cdbl(subtotal) + cdbl(total) <BR>response.write total<BR>Next <BR>%&#062;<BR><BR>and I am getting the following result:<BR><BR>29.9551.8551.8551.8551.85 <BR><BR>Does anyone get this, otherwise I shall stick it on the advanced forum.<BR><BR>Thanks<BR><BR>Kris

  2. #2
    Join Date
    Dec 1969

    Default Crosspost answered in the Q&A forum <eop>

    Yep, check it out, someone gave you the right answer at 9:59 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts