i have an integer variable and i want to convert this variable to string using Centura SQLWindows/32, there is a function for doing that?
Use SalNumberToStr or SalNumberToStrX , definitions below....
SalNumberToStr
SalNumberToStrX
length = SalNumberToStr ( nNumber, nDecimalPlaces, strString )
or
strString = SalNumberToStrX ( nNumber, nDecimalPlaces )
Converts a number to a string.
Parameters
nNumber Number. The number to convert. nDecimalPlaces Number. The number of decimal places you want in strString.
nNumber Number
nDecimalPlaces
strString
strString Receive a String. The string converted from nNumber.
String
nNumber
Return Value
nLength is the length of strString, including the decimal point. strString is the string converted from nNumber.
nLength
For future reference here is Centura ( now Gupta, for the last 15 years ) books online :
C:\Program Files (x86)\Gupta\Team Developer 6.2\Books\index.html
Use
SalNumberToStr
orSalNumberToStrX
, definitions below....or
Converts a number to a string.
Parameters
nNumber Number
. The number to convert.nDecimalPlaces
Number. The number of decimal places you want instrString
.strString
Receive aString
. The string converted fromnNumber
.Return Value
nLength
is the length ofstrString
, including the decimal point.strString
is the string converted fromnNumber
.For future reference here is Centura ( now Gupta, for the last 15 years ) books online :