ToString

Description:
Convert Decimal or Integer numbers to a String (Text) format.

Format:
ToString (decimal/integer Number)

Parameters:

Decimal or Integer

Number

Number to be converted to Text.

Return Value:

String

Text

The converted Text

Usage:
Use this function to convert a Decimal or Integer number into a String (Text) format. In order to display numbers or combine them with text, the numbers must be converted to a Text format that contains the number represented as characters. This function will convert a number to a string that happens to contain numeric characters.

Example 1:
Display the sum of two numbers to the User.

Decimal decNum1
Integer intNum2

// Set string data
decNum1 = 12.5
intNum2 = 50

// Display the total of the two numbers
MessageBox ('Sum of Numbers','The Total is:' + ToString (decNum1 + intNum2))

Hosted by www.Geocities.ws

1