title: How to turn String Value into Number - Google Tag Manager
body: <p>Im setting up my <strong>Google Tag Manager</strong> and I want to grab the <strong>purchase value from my Data Layer</strong>. This works fine, but Facebook doesn't recognize this value as its a &quot;String&quot; and not a number.</p>
  <p>Therefore <strong>my question is</strong>: How can I convert this String (Return Type) to a Number (Return Type) in order for Facebook to pick it up? If that helps, its a currency.</p>