static text currency format

Use this forum to post Sable related questions.

Moderator: Administrator

Post Reply
bgresh
Junior Member
Posts: 15
Joined: Wed Jul 21, 2010 1:53 pm

static text currency format

Post by bgresh »

I am displaying a variable in a text box, and I would like it to display as currency in the following way: $125,000

If I use @%$%0.0f%,Revenue@, it does not display the comma. How do I get it to display both dollar and comma for thousands?
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

Any standard "C" formatting codes can be used, but I cannot find a way of displaying thousands separators.

I'll add some code in though to do it.

Tony.
Post Reply