Introduction
The function val()
returns the numbers contained in a string in floating point representation. If the string contains non-numeric characters, a zero is returned.
Syntax
val( <Source String Operation> )
Example
The following example returns the value -2.20
:
<ISPRINT value = "#val('-3.2') + 1#">
Reference - ISML Functions
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.