Click or drag to resize

Str1 Function

X#
Convert a numeric expression to a string.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION Str1(
	fNumber AS USUAL
) AS STRING
Request Example View Source

Parameters

fNumber
Type: Usual
The numeric expression to convert.

Return Value

Type: String
Remarks
Str1() is a typed version of the Str() numeric function. See Str() for a detailed description.
Examples
This example shows how to use Str1() to convert a number to a string:
X#
1LOCAL fNumber AS FLOAT
2fNumber := 123.45
3? Str1(fNumber)         //      123.45
See Also