Salesforce

Val (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Val (Magic xpa 2.x)

Converts an Alpha string to a numeric value, according to a picture.

Syntax:

Val(string, picture)

Parameters:

string: The Alpha string to be converted to a numeric value.

picture: The format in which the number is stored in the string. For a full description, see pictures.

Returns:

Number values

Example:

Val('45.12','##.#') returns 45.1

Note:

A blank picture may be specified for converting standard numbers.

See also:

Str

The Online and Rich Client Samples projects (program CV04 and RCV04)

Reference
Attachment 
Attachment