ISML Function - val()

Name

val()

Short Description

returns the numbers contained in a string in floating point representation

Table of Contents

Product Version

6.5

Product To Version

 

StatusNew Labels

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

Disclaimer

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.

Customer Support
Knowledge Base
Product Resources
Tickets