What language did you find this function in? dBase, FoxPro, VB... First check the language reference for it and if that fails, check to see if its a User Defined Function (UDF) in the program. It may be hidden at the bottom of the program or in a calling program. Happy hunting.
nLength specifies the length of the character string STR( ) returns. The length includes one character for the decimal point and one character for each digit to the right of the decimal point. Defaults to 10 if excluded.
nDecimalPlaces specifies the number of decimal places in the character string STR( ) returns. Defaults to zero if excluded.
I believe Oracle SQL has a function called to_char() that fulfills a similar role. I will double-check this when I get home (where my PL/SQL manual is at the moment).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.