<turbo-stream action="update" target="wiki_99_subpage_177_info"><template>
<h1>TOINTEGER(data);</h1>
<p>This function can be used if you want to transfer data from a text field (date etc.) to an Integer.&nbsp; It converts the value to INTEGER which ensures a correct comparison on lookup when e.g. transferring a field to a INTEGER field or if you need to calculate on the value.</p>
<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<blockquote>
<p>##TOINTEGER(Points) &gt; 15000,'Active','Inactive')</p>
<p>&nbsp;</p>
</blockquote>
<p><strong>Example 2:</strong></p>
<blockquote>
<p>##TOINTEGER(Number) / 100</p>
</blockquote>
</template></turbo-stream>
<turbo-stream action="prepend" target="flash"><template></template></turbo-stream>
