Link to home
Start Free TrialLog in
Avatar of maxb
maxb

asked on

Format INT into Money

Hi there,
I have an integer that I would like to convert to dollars and display in a label caption "2000 => $2,000" (no cents) whats the easiest way of doing so?

Thank you
ASKER CERTIFIED SOLUTION
Avatar of LRHGuy
LRHGuy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maxb
maxb

ASKER

Does that add the dollar sign? I dont have Delphi to test for a couple more hours...
It put the dollar sign when I tested it.

You can add the dollarsign in front if needed.

'$'+Format

For me it added £, Guess it could be on settings of pc
Avatar of maxb

ASKER

How do I convert the money back out into an integer?