Question : foxpro formatting text problem

I've got a column in table in numeric, say

Sales
100.00
55.56
2223.11

I add another column to transform this column "Sales" to text format, and I want the text to be shown like 2,223.11 which is with separator:

Sales2
100.00
55.67
2,223.11
111,996.00

Sales2 in text format

how could I do so?? Thanks bro!

Answer : foxpro formatting text problem

TRANSFORM(nSales,'@ 999,999,999.99')
Random Solutions  
 
programming4us programming4us