Convert point to comma in cart
Some prices I can manipulate to add the eurosign or to show with comma iso a point :
€ <%= FormatNumber(WA_eCart_DisplayInfo(FrogStyling, "Price"), -1, -2, -2, -2) %>
€ <%= FormatNumber(WA_eCart_TotalColumn(FrogStyling, "TotalPrice"), -1, -2, -2, -2) %>
Displayed the way I want it : € 12,00 (with 1 space between € and price)
but these 2 I don't know how to change them :
<%=WA_eCart_DisplayMoney(FrogStyling, WAEC_VerzendingskostenEnvelop())%>
<%=WA_eCart_DisplayMoney(FrogStyling, WA_eCart_GrandTotal(FrogStyling))%>
Displayed like : €12.00
I looked in the map "WA_eCart_Definition_VB.asp" and found this function :
function WA_eCart_DisplayMoney(theObject, theAmount)
theAmount = cStr(theAmount)
theAmount = WA_eCart_FormatNumber(theAmount, theObject.ForceDecimalsC, theObject.DecimalPlacesC)
theAmount = WA_eCart_DisplayNumber(theObject, theAmount)
if (theObject.CurrencyAlign = 0) then
theString = cStr(theObject.CurrencyPrefix) & theAmount
else
if (theObject.CurrencyAlign = 1) then
theString = theAmount & cStr(theObject.CurrencyPrefix)
else
theString = theAmount
end if
end if
WA_eCart_DisplayMoney = theString
end function
I'am not sure if this is the right one !?
How can I fix this issue ?