Get a number with a spcific number of digits after the point

G

Guest

Hello !
With c# ,I want to get a number with a spcific number of digits after the
point , for example if the specific number is '2' :
for this number 334.23523
I want to get 334.23 (2 digits after the point)
How can I do it?
 

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