abdelwaheb ammar

abdelwaheb ammar

  • 1.7k
  • 318
  • 82k

display a value in 3 digit after the decimal point

Oct 26 2015 4:51 AM
Hello everyone, I am looking to display a value in 3 digit after the comma on C #.
I put this code but it appears to me 11.5
Graphic.DrawString(""+montant.ToString(".###"), lCalibri10Bold, Brushes.Black, 500, dis);
 

Answers (6)