Email template nvelocity variable
Posted: Thu Feb 11, 2010 4:48 pm
I'm trying to sum line items amounts, but for some reason the decimal isn't getting included.
I'm doing:
#set ($shipTotal = 0)
...
#set ($shipTotal = $shipTotal + $orderItem.Price)
Say the Price is 100.25... the $shipTotal would only show 100.
What am I doing wrong?
I'm doing:
#set ($shipTotal = 0)
...
#set ($shipTotal = $shipTotal + $orderItem.Price)
Say the Price is 100.25... the $shipTotal would only show 100.
What am I doing wrong?