Ok, CJ, the problem I am having is that some installation
prices are set to
'0' so, of course when zero is times by anything the answer
is zero. Which
wipes out my install total.
Kim
"[CJ]" <webforumsuser@macromedia.com> wrote in message
news:elac13$ft7$1@forums.macromedia.com...
> you don't need evaluate() in your calculation.
> <cfset theInstall = myCart[TheIndex][6] *
myCart[TheIndex][3] /> will do.
>
> to get the grand total, just loop over myCart performing
the calculations.
> <cfset grandTotal = 0 />
> <cfloop from="1" to="#arrayLen(myCart)#"
index="idx">
> <cfset grandTotal = grandTotal + (myCart[idx][6] *
myCart[idx][3]) />
> </cfloop>
> <cfoutput>#grandTotal#</cfoutput>
>
>