AnsweredAssumed Answered

Convert a string to int with Velocity

Question asked by Franky Ruysschaert on Sep 8, 2019
Latest reply on Sep 10, 2019 by Sanford Whiteman

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}

Outcomes