ISML Function - val()



Short Description

returns the numbers contained in a string in floating point representation

Table of Contents

Product Version


Product To Version


StatusNew Labels


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.


val( <Source String Operation> )


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.

The Intershop Customer Support website uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties.

Further information on privacy can be found in the Intershop Privacy Policy and Legal Notice.
Customer Support
Knowledge Base
Product Resources