Salesforce

Str (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Str (Magic xpa 4.x)

Converts a number to an Alpha string, according to a picture.

Syntax:

Str(number,picture)

Parameters:

number: The number to be converted into an Alpha string.

picture: The format of the resulting string. For a full description, see pictures.

Returns:

Alpha string containing converted number

Example:

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

Note:

Since a picture is used, the function may cause rounding. Str(39.999,'##.##') returns '40.00'.

See also:

Val

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

Reference
Attachment 
Attachment