anchor.diff:  										<cfset loc.tran.unitTrade = loc.data.unitTrade>
   										<cfset loc.tran.prop = 1>
   										<cfif loc.i MOD 2 eq 0>
  -											<cfset loc.tran.gross = Round((loc.data.unitPrice * 0.5) * 100) / 100 * loc.tranType * loc.rec.regMode>
  +											<cfset loc.tran.gross = int((loc.data.unitPrice * 0.5) * 100) / 100>
   										<cfelse>
  -											<cfset loc.tran.gross = Round(loc.data.unitPrice * 100) / 100 * loc.tranType * loc.rec.regMode>
  +											<cfset loc.tran.gross = int(loc.data.unitPrice * 100) / 100>
   										</cfif>
   										<cfset loc.disc += loc.data.unitPrice + loc.tran.gross>
   										<cfset loc.totalGross -= loc.tran.gross>
  -										<cfset loc.tran.net = Round(loc.tran.gross / (1 + (loc.tran.vrate / 100)) * 100) / 100>
  +										<cfset loc.tran.net = int(loc.tran.gross / (1 + (loc.tran.vrate / 100)) * 100) / 100>
   										<cfset loc.tran.vat = loc.tran.gross - loc.tran.net>
  +
  +										<cfset loc.tran.gross = loc.tran.gross * loc.tranType * loc.rec.regMode>
  +										<cfset loc.tran.net = loc.tran.net * loc.tranType * loc.rec.regMode>
  +										<cfset loc.tran.vat = loc.tran.vat * loc.tranType * loc.rec.regMode>
  +
   										<cfset ArrayAppend(session.basket.trans,loc.tran)>
   									</cfloop>
   									<cfset loc.dealRec.groupRetail = 0>
  
positive.code: 			<cfloop collection="#session.basket.deals#" item="loc.dealKey">
  				<cfset loc.dealData = StructFind(session.dealData,loc.dealKey)>
  				<cfset loc.dealRec = StructFind(session.basket.deals,loc.dealKey)>
  				<cfset ArraySort(loc.dealRec.prices,"text","ASC")>	<!--- use DESC to optimise for customer --->
  				<cfset loc.dealRec.VATTable = {}>
  				<cfset loc.dealRec.dealQty = 0>
  				<cfset loc.dealRec.netTotal = 0>
  
negative.code: 									<td>#loc.tran.prodID#</td>
  									<td align="right">#DecimalFormat(loc.tran.gross)#</td>
  									<td align="right">#DecimalFormat(loc.tran.gross)#</td>
  									<td align="right">##</td>
  									<td align="right">#DecimalFormat(loc.tran.net)#</td>
  									<td align="right">#DecimalFormat(loc.tran.vat)#</td>
  									<td align="right">#DecimalFormat(loc.tran.vrate)#%</td>
  