Xbasic Functions str() Alpha Documentation Most often used to format a string in a numeric format Example 1 - field formatting txt = "123456789" ?alltrim(str( convert_type(txt,"N") ,250,2,"$(")) = "$123,456,789.00"