Str1 Function | |
Convert a numeric expression to a string.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION Str1(
fNumber AS USUAL
) AS STRING
public static string Str1(
Usual fNumber
)
Request Example
View SourceParameters
- fNumber
- Type: Usual
The numeric expression to convert.
Return Value
Type:
StringRemarks
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:
1LOCAL fNumber AS FLOAT
2fNumber := 123.45
3? Str1(fNumber)
See Also