Format decimal number

L

Luigi

Hi all,
having a decimal value, like this:

decimal? valueTest = 1234567.8999

how can I format it so it appears with thousands separator and 2 decimal
digits?
Like:

1,234,567.90

or

1.234.567,90

Thank in advance.
 

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

Top