I need to convert a lead field, which holds a string to a integer with velocity scripting.
Does somebody has a solution for this?
I have tried the following, but I receive an error
#set( $tmp = 0 )
$tmp.parseInt( ${lead.PostalCode} )
${tmp}
Solved! Go to Solution.
#set( $anInteger = $convert.toInteger( $aString ) )
Franky please return to the thread and mark my answer as Correct.