locale, format monetary values

R

Rares Vernica

Hi,

Can I use locale to format monetary values? If yes, how? If no, is there
something I can use?

E.g.,
I have 10000 and I want to get "$10,000".

Thanks,
Ray
 
D

deelan

Rares said:
Hi,

Can I use locale to format monetary values? If yes, how? If no, is there
something I can use?

E.g.,
I have 10000 and I want to get "$10,000".

try something like:
'$10,000.00'

bye.
 
R

Rares Vernica

That's it. Thanks a lot!

There is no example on the locale.format in the docs so I was confused.

Regards,
Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,294
Messages
2,571,508
Members
48,193
Latest member
DannyRober

Latest Threads

Top