0

Hi All I'm Using Nvelocity Library and i have some problem so i Have number 57,45 and i cant convert it to double $Convert.ToDouble($Value) returns 0.

Thanks.

Gino4nx
  • 64
  • 1
  • 3

1 Answers1

0

My Code Looks Like this

#foreach($gridRow in $gridData)
 #set($tmpPrice = $gridRow.get_Item("Price").replace(",", "."))
 #set($sumPrice = $sumPrice + $convert.toDouble($tmpPrice))
#end
Gino4nx
  • 64
  • 1
  • 3