Question : Take a variable and have the displayed format....

there's a program that takes the variable and has it in an Email message, but now I have to format it so it comes out as currency and with it's thousands comma seperator.

so 4452.00 would display $  4,452.00

or atleast with the comma....

I am thinking of the TEXT TO lcStr........ But would need to format still
Code Snippet:
1:
2:
3:
4:
code... m.total


DO email.prg with "myEmail", "MyTitle", "Body $"+Alltrim(Str(m.total))+" ....."

Answer : Take a variable and have the displayed format....

transform(m.total,'9,999,999.99')
Random Solutions  
 
programming4us programming4us