Salesforce

Val (Magic xpi 4.7)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Val (Magic xpi 4.7)

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

Syntax:

Val(Alpha string, Alpha 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 Picture Formats.

Returns:

Number values.

Example:

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

Note:

A blank picture may be specified for converting standard numbers.

See also:

Str

Reference
Attachment 
Attachment