sqlcentura

Convert a string to integer with centura SQLWindows/32


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?


Solution

  • Use SalNumberToStr or SalNumberToStrX , definitions below....

    length = SalNumberToStr ( nNumber, nDecimalPlaces, strString )
    

    or

    strString = SalNumberToStrX ( nNumber, nDecimalPlaces )
    

    Converts a number to a string.


    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