6
Answers

display a value in 3 digit after the decimal point

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)